Liking cljdoc? Tell your friends :D

precept.accumulators


accumclj/s

source

allclj/s

source

averageclj/s

source

by-fact-idclj/s

(by-fact-id)
(by-fact-id k)

Custom accumulator.

Like acc/all ewxcept sorts tuples by :t slot (fact-id). Since fact ids are created sequentially this sorts facts by order they were created. Returns list of facts. Optional k arg maps k over facts.

Custom accumulator.

Like acc/all ewxcept sorts tuples by :t slot (fact-id). Since fact ids are created sequentially
this sorts facts by order they were created.
Returns list of facts. Optional `k` arg maps `k` over facts.
sourceraw docstring

countclj/s

source

distinctclj/s

source

grouping-byclj/s

source

list-ofclj/s

(list-of fact-f)
(list-of fact-f list-f)

Custom accumulator.

Calls fact-f on facts being accumulated. If provided, calls list-f on accumulated list result.

Custom accumulator.

Calls fact-f on facts being accumulated.
If provided, calls list-f on accumulated list result.
sourceraw docstring

maxclj/s

source

minclj/s

source

reduce-to-accumclj/s

source

sumclj/s

source

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

× close