;; Calculates the hashes for x and y and produces a new hash that represents ;; the combination of the two. user=> (hash-combine 100 "a") -1640524969
;; Calculates the hashes for x and y and produces a new hash that represents ;; the combination of the two. user=> (hash-combine 100 "a") -1640524969
(defn hash-combine [x y] (clojure.lang.Util/hashCombine x (clojure.lang.Util/hash y)))
Comments top
No comments for hash-combine. Log in to add a comment.