summaryrefslogtreecommitdiff
path: root/tests/for2.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-01 21:32:33 +0100
committerubq323 <ubq323@ubq323.website>2024-07-01 21:32:33 +0100
commit6e8123763241efcb259f68d6e0e6d3ffcbc32795 (patch)
tree5ff973d5bf25fd86e7163c121d4275d256867276 /tests/for2.bth
parent629416ffb6e30836f4de4a0f2401ccd66b4ce4a6 (diff)
add for2 test
Diffstat (limited to 'tests/for2.bth')
-rw-r--r--tests/for2.bth3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/for2.bth b/tests/for2.bth
new file mode 100644
index 0000000..66c490f
--- /dev/null
+++ b/tests/for2.bth
@@ -0,0 +1,3 @@
+(let (a [6 7 8 9])
+ (for (i (len a))
+ (say (+ (a i) (* i 10)))))