aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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