We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aed1b1 commit b5fc505Copy full SHA for b5fc505
examples/each.janet
@@ -0,0 +1,9 @@
1
+# prints 12345
2
+(each x [1 2 3 4 5] (prin x)) # -> nil
3
+
4
5
+(each y @[1 2 3 4 5] (prin y)) # -> nil
6
7
+# prints values from table in an unspecified order
8
+# 21 -or- 12
9
+(each x {:a 1 :b 2} (prin x)) # -> nil
0 commit comments