summaryrefslogtreecommitdiff
path: root/test.pez
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-10-10 20:11:31 +0200
committerlemon <lsof@mailbox.org>2022-10-10 20:11:31 +0200
commit72d64e806dc460641cc7f32ff9d1e64677ea1cc3 (patch)
tree1fe8dbba89d909d181e5a971d69e87776282a769 /test.pez
parentdbf6b2d3eedf1bdffb398254ef365a33aacb0e82 (diff)
SEL[*] gather operator
Diffstat (limited to 'test.pez')
-rw-r--r--test.pez7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.pez b/test.pez
index b6dcd8c..47a59ae 100644
--- a/test.pez
+++ b/test.pez
@@ -34,4 +34,11 @@ printf["%a == %a\n", m[3,7], 3^7]
acc
}
+
printf["4+1+3: %a\n", add[4,1,3]]
+
+@gather: {[*]
+ SEL[*]
+}
+
+printf["test %a\n", gather[-1, (), 'x]]