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:
parent
4225052a28
commit
0fd323785c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user