Skip to content

Commit

Permalink
New test for closures
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Aug 28, 2024
1 parent 87b0b23 commit 7ebab4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions impls/tests/step4_if_fn_do.mal
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@
(plus7 8)
;=>15

(let* [b 0 f (fn* [] b)] (let* [b 1] (f)))
;=>0

;; Testing do form
(do (prn 101))
;/101
Expand Down

0 comments on commit 7ebab4a

Please sign in to comment.