1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-13 01:43:50 +03:00

Merge pull request #386 from asarhaddon/test-let-recursive-def

test recursive definitions in let*
This commit is contained in:
Joel Martin 2019-05-27 15:49:02 -04:00 committed by GitHub
commit 221151f608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,11 @@ a
;;;;=>89
;; Testing recursive function in environment.
(let* [cst (fn* [n] (if (= n 0) nil (cst (- n 1))))] (cst 1))
;=>nil
;>>> deferrable=True
;;
;; -------- Deferrable Functionality --------