protocol | since v0.0-1211 | clojure.lang/IKVReduce | Edit |
ObjMap
PersistentArrayMap
PersistentHashMap
PersistentTreeMap
PersistentVector
Subvec
Protocol for associative types that can reduce themselves via a function of key and val. Called by cljs.core/reduce-kv.
(defprotocol IKVReduce
(-kv-reduce [coll f init]
"Reduces an associative collection and returns the result. f should be
a function that takes three arguments."))