1
1
mirror of https://github.com/kanaka/mal.git synced 2024-10-04 01:17:33 +03:00

Two new tests for closures

This commit is contained in:
Nicolas Boulenguez 2020-03-10 10:42:03 +01:00 committed by Joel Martin
parent 4225052a28
commit 0fd323785c

View File

@ -202,6 +202,12 @@
(plus7 8)
;=>15
(let* [b 0 f (fn* [] b)] (let* [b 1] (f)))
;=>0
((let* [b 0] (fn* [] b)))
;=>0
;; Testing do form
(do (prn 101))
;/101