Skip to main content

amap

macrov1.7

cljs.core/amap

Available in:BBCLJCLJS
(amap [a idx ret expr])
Maps an expression across an array a, using an index named idx, and return value named ret, initialized to a clone of a, then setting each element of ret to the evaluation of expr, returning the new array ret.

No examples yet. Be the first to add one!