aboutsummaryrefslogtreecommitdiff
path: root/tests/step9_try.mal
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-27 23:20:22 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:59:01 -0600
commit77b2da6cf337bbd85914619bfbccba69b6621a04 (patch)
treeafa9bcca8e965363962d585f312cb76eb14f8183 /tests/step9_try.mal
parentbd3067230dcbd18fb1f0db7abb52c4ea1c2e227b (diff)
downloadmal-77b2da6cf337bbd85914619bfbccba69b6621a04.tar.gz
mal-77b2da6cf337bbd85914619bfbccba69b6621a04.zip
rust: add conj, stepA. Self-hosting!
Diffstat (limited to 'tests/step9_try.mal')
-rw-r--r--tests/step9_try.mal9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/step9_try.mal b/tests/step9_try.mal
index b068355..3905274 100644
--- a/tests/step9_try.mal
+++ b/tests/step9_try.mal
@@ -156,9 +156,18 @@
(contains? hm2 "a")
;=>true
+
+;;; TODO: fix. Clojure returns nil but this breaks mal impl
+(keys hm1)
+;=>()
+
(keys hm2)
;=>("a")
+;;; TODO: fix. Clojure returns nil but this breaks mal impl
+(vals hm1)
+;=>()
+
(vals hm2)
;=>(1)