aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-27 21:42:46 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:59:00 -0600
commit06fef9b51830a2aa696f3e108c56f306967ce465 (patch)
treed3568abe85505a7c825ad96ffabd44adc7b4d456 /tests
parentb12d98e4e3424be6b1e851c9450e9532910996ec (diff)
downloadmal-06fef9b51830a2aa696f3e108c56f306967ce465.tar.gz
mal-06fef9b51830a2aa696f3e108c56f306967ce465.zip
rust: add atom support. Fix vector params.
Diffstat (limited to 'tests')
-rw-r--r--tests/step4_if_fn_do.mal5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/step4_if_fn_do.mal b/tests/step4_if_fn_do.mal
index 3e1c016..169ff8b 100644
--- a/tests/step4_if_fn_do.mal
+++ b/tests/step4_if_fn_do.mal
@@ -353,3 +353,8 @@ a
(= "" [])
;=>false
+;; Testing vector parameter lists
+( (fn* [] 4) )
+;=>4
+( (fn* [f x] (f x)) (fn* [a] (+ 1 a)) 7)
+;=>8