Liking cljdoc? Tell your friends :D

clojure.core.protocols


CollReducecljprotocol

Protocol for collection types that can implement reduce faster than first/next recursion. Called by clojure.core/reduce. Baseline implementation defined in terms of Iterable.

Protocol for collection types that can implement reduce faster than
first/next recursion. Called by clojure.core/reduce. Baseline
implementation defined in terms of Iterable.

coll-reduceclj

(coll-reduce coll f)
(coll-reduce coll f val)
sourceraw docstring

IKVReducecljprotocol

Protocol for concrete associative types that can reduce themselves via a function of key and val faster than first/next recursion over map entries. Called by clojure.core/reduce-kv, and has same semantics (just different arg order).

Protocol for concrete associative types that can reduce themselves
via a function of key and val faster than first/next recursion over map
entries. Called by clojure.core/reduce-kv, and has same
semantics (just different arg order).

kv-reduceclj

(kv-reduce amap f init)
sourceraw docstring

InternalReducecljprotocol

Protocol for concrete seq types that can reduce themselves faster than first/next recursion. Called by clojure.core/reduce.

Protocol for concrete seq types that can reduce themselves
faster than first/next recursion. Called by clojure.core/reduce.

internal-reduceclj

(internal-reduce seq f start)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close