-
-
Save timmc/2338038 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
(import '(java.io ByteArrayInputStream ByteArrayOutputStream | |
ObjectInputStream ObjectOutputStream)) | |
(defmacro wtf | |
[] | |
(Boolean. false)) ;; note the lack of syntax-quote | |
--------- | |
user=> (wtf) | |
false | |
user=> (def f* *1) | |
#'user/f* | |
user=> (def f (wtf)) | |
#'user/f | |
user=> [(wtf) f* f] | |
[false false false] | |
user=> (map #(identical? % (Boolean/valueOf false)) [(wtf) f* f]) | |
(true false false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment