Creates reduction of the given Iterable. This function can be used for example for cumulative sums.
Iterable.reduce does not allow you to set initial value.