summaryrefslogtreecommitdiff
path: root/tests/map.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-08 14:44:48 +0100
committerubq323 <ubq323@ubq323.website>2024-08-08 14:49:05 +0100
commitd046c7d20fd283c90495d3af4bb53d1cfb2a0812 (patch)
treea764b20d45135101b179a4fbdc122ca0c76bd6b6 /tests/map.bth
parenta4e8599e8d0fde881cd4e6e3031e5b52550e878e (diff)
misc
Diffstat (limited to 'tests/map.bth')
-rw-r--r--tests/map.bth2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/map.bth b/tests/map.bth
index 9f739bb..c3170bd 100644
--- a/tests/map.bth
+++ b/tests/map.bth
@@ -1,5 +1,5 @@
(set! map' (fn (f ix in out)
- (if (< ix (len in))
+ (if (< ix (# in))
(let (elem (in ix)
felem (f elem)
newix (+ 1 ix))