Skip to main content

reductions

functionv1.2

clojure.core/reductions

Available in:BBCLJCLJS
(reductions [f coll] [f init coll])
Returns a lazy seq of the intermediate values of the reduction (as per reduce) of coll by f, starting with init.

No examples yet. Be the first to add one!