clojure - Can two symbols be bound to the same var? -


in clojure, can ever true?

(= #'x #'y)     

examples of doesn't work:

user> (def x 1) #'user/x user> (def y x) #'user/y user> (= #'x #'y) false user> (def y #'x) #'user/y user> (= #'x #'y) false 

(refer 'clojure.core :only '[=] :rename '{= equal?})  (= #'= #'equal?) ;= true 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -