Re:Data Structures in Clojure: Hash Tables
by shriphani on Tuesday February 04, 2014 @01:38PM
(#7179377)
Clojure has a built-in hash which (I believe) returns the value of <your_obj>.hashCode() [the one java provides].
[ Parent
| on HN ]
Re:Data Structures in Clojure: Hash Tables
by dantiberian on Tuesday February 04, 2014 @03:44PM
(#7180121)
You are correct, (hash x) returns x.hashCode() from Java http://clojuredocs.org/clojure_core/clojure.core/hash