• (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:
Used in 0 other vars

Comments top

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