summaryrefslogtreecommitdiff
path: root/test.pez
diff options
context:
space:
mode:
Diffstat (limited to 'test.pez')
-rw-r--r--test.pez15
1 files changed, 14 insertions, 1 deletions
diff --git a/test.pez b/test.pez
index cd7d608..61034f7 100644
--- a/test.pez
+++ b/test.pez
@@ -49,4 +49,17 @@ printf["test %a\n", gather[-1, (), 'x]]
ys
}
-printf["%a\n", map["abcd", #[1,2,0]]]
+printf["maps %a\n", map["abcd", #[1,2,0]]]
+
+@inspect: {[m]
+ printf["%a\n", m]
+}
+
+@r: #{"a" 1, "b" 2, 0 "a"}
+r[0]=r
+
+printf["r: "] inspect[r]
+printf["r.a -> %a\n", r[0].a]
+{
+ inspect [#{0 3,"a" 3}]
+}[]