Closed igorw closed 9 years ago
reductions() is quite similar to reduce(). However, instead of only returning the final result, it will yield every accumulated value along the way.
This is taken from clojure's reductions() function:
Nice!
reductions() is quite similar to reduce(). However, instead of only returning the final result, it will yield every accumulated value along the way.
This is taken from clojure's reductions() function: