IHash

protocolsince v0.0-927Edit
implemented for ArrayNodeSeq Atom BlackNode ChunkedCons ChunkedSeq Cons EmptyList HashMapLite IndexedSeq IntegerRange KeySeq Keyword LazySeq List MapEntry MultiFn Namespace NodeSeq ObjMap PersistentArrayMap PersistentArrayMapSeq PersistentHashMap PersistentHashSet PersistentQueue PersistentQueueSeq PersistentTreeMap PersistentTreeMapSeq PersistentTreeSet PersistentVector RSeq Range RedNode Repeat SetLite Subvec Symbol TaggedLiteral UUID ValSeq Var VectorLite default symbol

Source docstring:
Protocol for adding hashing functionality to a type.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defprotocol IHash
  (-hash [o]
    "Returns the hash code of o."))