summaryrefslogtreecommitdiff
path: root/tests/each.bth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/each.bth')
-rw-r--r--tests/each.bth4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/each.bth b/tests/each.bth
new file mode 100644
index 0000000..3dd3f9f
--- /dev/null
+++ b/tests/each.bth
@@ -0,0 +1,4 @@
+(let (a [2 3 4 5 6])
+ (each (x a)
+ (say (* x x))
+ (let (q 100 r 200 s 300) (say r))))