From 72d64e806dc460641cc7f32ff9d1e64677ea1cc3 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 10 Oct 2022 20:11:31 +0200 Subject: SEL[*] gather operator --- test.pez | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test.pez') 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]] -- cgit v1.2.3