diff --git a/test/function.vli b/test/function.vli index 527cc01..dbfe738 100644 --- a/test/function.vli +++ b/test/function.vli @@ -43,3 +43,10 @@ (fn add-four (x) (+ x four)) (assert (= (add-four 5) 9)) + + +;; Passing lisp functions to native functions as parameters +;; (map is implemented in C++) + +(assert (= (map '(1 2 3) (fn square (x) (* x x))) + '(1 4 9)))