(rontolisp) docs
← Maps, sets and vectors

areduce

(areduce array index result init expr)

Reduces expr across array by index: evaluates the array once, then walks the index from zero with the accumulator result set to the value expr answers at each step from init, and answers the accumulator. index names the loop's index and stays local to the form.