From 7ebab4ae1ab5f6204043f5b75945c549f91f94e9 Mon Sep 17 00:00:00 2001 From: Nicolas Boulenguez Date: Tue, 10 Mar 2020 10:42:03 +0100 Subject: [PATCH] New test for closures --- impls/tests/step4_if_fn_do.mal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/impls/tests/step4_if_fn_do.mal b/impls/tests/step4_if_fn_do.mal index b98f2dae2a..6559c3430f 100644 --- a/impls/tests/step4_if_fn_do.mal +++ b/impls/tests/step4_if_fn_do.mal @@ -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