ClojureDocs

Nav

Namespaces

amap

clojure.core

Available since 1.0 (source)
  • (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.