Created
May 7, 2015 15:38
-
-
Save Chouser/78bc654a9233c42e6c3f to your computer and use it in GitHub Desktop.
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
Clojure 1.7.0-beta2 | |
;; ns-unmap doesn't fully take effect on uses of the unmapped var in the same compilation unit: | |
user=> (let [] (ns-unmap 'user 'first) first) | |
#object[clojure.core$first__4107 0x4b8729ff "clojure.core$first__4107@4b8729ff"] | |
;; ...but has taken effect by the time the next top level form is compiled: | |
user=> first | |
CompilerException java.lang.RuntimeException: Unable to resolve symbol: first in this context, compiling:(NO_SOURCE_PATH:0:0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment