Last active
August 29, 2015 14:19
-
-
Save davidrupp/8ba1df41f479b60fa566 to your computer and use it in GitHub Desktop.
alter-var-root-constantly-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def thing 1) ; value of thing is now 1 | |
; do some stuff with thing | |
(alter-var-root #'thing (constantly nil)) ; value of thing is now nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment