Public Vars

Back

areduce (clj)

(source)

macro

(areduce a idx ret init expr)
Reduces an expression across an array a, 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.

Examples