aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/hash-map1.milch6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scripts/hash-map1.milch b/test/scripts/hash-map1.milch
new file mode 100644
index 0000000..ed61ec0
--- /dev/null
+++ b/test/scripts/hash-map1.milch
@@ -0,0 +1,6 @@
+(let a "foo")
+
+(eq?
+ { a 1 :b 2 }
+ ; equivalent to
+ (hash-map [a 1 :b 2]))