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

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -