Variant of clojure.core/areduce
that supports naming the array.
Variant of `clojure.core/areduce` that supports naming the array.
(folda a idx ret init expr)
(folda aname a idx ret init expr)
Reduces an expression across an array a named (if provided) aname, using an index named idx, and return value named ret, initialized to init, setting ret to the evaluation of expr at each step, returning ret.
Reduces an expression across an array a named (if provided) aname, using an index named idx, and return value named ret, initialized to init, setting ret to the evaluation of expr at each step, returning ret.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close