summaryrefslogtreecommitdiff
path: root/tests/func4.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-11 15:43:18 +0100
committerubq323 <ubq323@ubq323.website>2024-07-11 15:43:18 +0100
commitd9d307bc676387ab8894f9fb1ee722db8ecf7272 (patch)
tree135a8ca920a16c7f46cb6cf6b65d6e982163671e /tests/func4.bth
parentd8d3770f88d6acc37620d6577fa5a0b026fb1231 (diff)
set -> set!
Diffstat (limited to 'tests/func4.bth')
-rw-r--r--tests/func4.bth6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/func4.bth b/tests/func4.bth
index efd2b71..f527ef9 100644
--- a/tests/func4.bth
+++ b/tests/func4.bth
@@ -1,5 +1,5 @@
-(set f1 (fn (x) (+ x 10)))
-(set f2 (fn (x) (* x 10)))
-(set g (fn (f x) (say (f x)) (say (f x))))
+(set! f1 (fn (x) (+ x 10)))
+(set! f2 (fn (x) (* x 10)))
+(set! g (fn (f x) (say (f x)) (say (f x))))
(g f1 26)
(g f2 6)