mirror of
https://github.com/kanaka/mal.git
synced 2024-08-16 17:20:23 +03:00
parent
d40f588823
commit
306ba5eb43
@ -93,6 +93,12 @@
|
||||
(f)
|
||||
;=>9
|
||||
|
||||
;; Testing whether closures can retain atoms
|
||||
(def! g (let* (atm (atom 0)) (fn* () (deref atm))))
|
||||
(def! atm (atom 1))
|
||||
(g)
|
||||
;=>0
|
||||
|
||||
;>>> deferrable=True
|
||||
;;
|
||||
;; -------- Deferrable Functionality --------
|
||||
|
Loading…
Reference in New Issue
Block a user