Created
April 23, 2015 16:14
-
-
Save davidrupp/78dd79fb608b9130c6d4 to your computer and use it in GitHub Desktop.
Revisions
-
davidrupp created this gist
Apr 23, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ (def thing 1) ; these all happen to work, but ... yuck (alter-var-root #'thing #(if %1 nil)) (alter-var-root #'thing #(last [%1 nil])) (alter-var-root #'thing #(do %1 nil))