summaryrefslogtreecommitdiff
path: root/tests/clos3.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/clos3.bth
parentd8d3770f88d6acc37620d6577fa5a0b026fb1231 (diff)
set -> set!
Diffstat (limited to 'tests/clos3.bth')
-rw-r--r--tests/clos3.bth2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/clos3.bth b/tests/clos3.bth
index 4742391..788307b 100644
--- a/tests/clos3.bth
+++ b/tests/clos3.bth
@@ -1,7 +1,7 @@
(defn (counter)
(let (a 0)
(fn ()
- (set a (+ a 1))
+ (set! a (+ a 1))
(say a))))
(def c1 (counter))
(def c2 (counter))