Changes for clojure.core/long

rand0m86 about 6 minutes ago
v.1.3.0
user=> (= 21 (long 21))
true 

;; but
user=> (.equals 21 (long 21))
false 

;; and thus
user=> (get {21 :twenty-one} (long 21))
nil 

v.1.6.0
user=> (= 21 (long 21))
true 

user=> (.equals 21 (long 21))
true

user=> (.equals 21.0 (long 21))
false

user=> (.equals (long 21.0) (long 21)) 
true
rand0m86 about 56 minutes ago
user=> (= 21 (long 21))
true 

user=> (.equals 21 (long 21))
true

user=> (.equals 21.0 (long 21))
false

user=> (.equals (long 21.0) (long 21)) 
true
zkim on Sun, 26 Sep 2010
user=> (= 21 (long 21))
true 

;; but
user=> (.equals 21 (long 21))
false 

;; and thus
user=> (get {21 :twenty-one} (long 21))
nil 
zmila on Thu, 05 Aug 2010
user=> (= 21 (long 21))
true 

; but
user=> (.equals 21 (long 21))
false 

; and thus
user=> (get {21 :twenty-one} (long 21))
nil