ClojureDocs

导航

命名空间

mix-collection-hash

clojure.core

自 1.6 起可用 (源代码)
  • (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 https://clojure.org/data_structures#hash for full algorithms.