Returns a new collection consisting of the intermediate values
of reducing the collection using a $predicate. The reduction $predicate is passed an $initial accumulator
and the current collection value and returns a new accumulator. Reductions returns a list of every accumulator along the way.
Returns a new collection consisting of the intermediate values
of reducing the collection using a $predicate. The reduction $predicate is passed an $initial accumulator
and the current collection value and returns a new accumulator. Reductions returns a list of every accumulator along the way.