-
-
Save hiredman/990194 to your computer and use it in GitHub Desktop.
bug.clj
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 characters
(deftype Foo [] | |
Object | |
(equals [this x] (instance? (resolve 'Foo) x))) | |
(let [f (Foo.)] | |
(.equals f f)) ; false, creates problems when looking up items in map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment