reductions - clojure.core
clojure.core
Available since 1.2 (source) ![]()
- (reductions f coll)
- (reductions f init coll)
Returns a lazy seq of the intermediate values of the reduction (as per reduce) of coll by f, starting with init.
© Rich Hickey. All rights reserved. Eclipse Public License 1.0