Public Vars

Back

reductions (clj)

(source)

function

(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.

Examples