ClojureDocs

Nav

Namespaces

reductions

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.