summaryrefslogtreecommitdiff
path: root/test/patiter.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/patiter.myr')
-rw-r--r--test/patiter.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/patiter.myr b/test/patiter.myr
index aee5883..9557e16 100644
--- a/test/patiter.myr
+++ b/test/patiter.myr
@@ -2,11 +2,11 @@ use std
const main = {
/* should print 1,3,5, skipping 4 */
- for (1,x) in [(1,2),(1,3),(2,4),(1,5)]
+ for (1,x) : [(1,2),(1,3),(2,4),(1,5)]
std.put("{}", x)
;;
/* should print 1, 2 skipping `None */
- for `std.Some v in [`std.None, `std.Some 1, `std.Some 2]
+ for `std.Some v : [`std.None, `std.Some 1, `std.Some 2]
std.put("{}", v)
;;
std.put("\n")