You're viewing version 1.2.0 of hash-combine. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16



  • (hash-combine x y)

1 Example top

  • ;; Calculates the hashes for x and y and produces a new hash that represents
    ;; the combination of the two.
    user=> (hash-combine 100 "a")
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core_deftype.clj:112 top

(defn hash-combine [x y] 
  (clojure.lang.Util/hashCombine x (clojure.lang.Util/hash y)))
Vars in clojure.core/hash-combine: defn
Used in 0 other vars

Comments top

No comments for hash-combine. Log in to add a comment.