Liking cljdoc? Tell your friends :D
Clojure only.

ham-fisted.protocols


ParallelReducercljprotocol

Parallel reducers are simple a single object that you can pass into preduce as opposed to 3 separate functions.

Parallel reducers are simple a single object that you can pass into preduce as
opposed to 3 separate functions.

->init-val-fnclj

(->init-val-fn item)

Returns the initial values for a parallel reduction. This function takes no arguments and returns the initial reduction value.

Returns the initial values for a parallel reduction.  This function
takes no arguments and returns the initial reduction value.

->merge-fnclj

(->merge-fn item)

Returns the merge function for a parallel reduction. This function takes two initial values and returns a new initial value.

Returns the merge function for a parallel reduction.  This function takes
two initial values and returns a new initial value.

->rfnclj

(->rfn item)

Returns the reduction function for a parallel reduction. This function takes two arguments, the initial value and a value from the collection and returns a new initial value.

Returns the reduction function for a parallel reduction. This function takes
two arguments, the initial value and a value from the collection and returns a new
initial value.
raw docstring

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

× close