ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

mix-collection-hash

clojure.core

Available since 1.6 (source) Clojure/JVMClojureScriptbabashka
  • (mix-collection-hash hash-basis count)
Mix final collection hash for ordered or unordered collections.
 hash-basis is the combined collection hash, count is the number
 of elements included in the basis. Note this is the hash code
 consistent with =, different from .hashCode.
 See http://clojure.org/data_structures#hash for full algorithms.