summaryrefslogtreecommitdiff
path: root/tests/iota_rec.bth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/iota_rec.bth')
-rw-r--r--tests/iota_rec.bth2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/iota_rec.bth b/tests/iota_rec.bth
index 8e274a4..5ce196d 100644
--- a/tests/iota_rec.bth
+++ b/tests/iota_rec.bth
@@ -1,6 +1,6 @@
(defn (iota' arr i max)
(if (< i max)
- (iota' (append arr i) (+ i 1) max)
+ (iota' (append! arr i) (+ i 1) max)
arr))
(set! _G_iota' iota')
(defn (iota n) (_G_iota' [] 0 n))