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-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-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.
(->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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close