(rontolisp) docs
← Seqs

map

(map f coll...) / (map f)

Answers f over each element (each row of elements) of the seq views, stopping at the shortest input, like the oracle; lists pass through untouched, every other collection coerces first, so vectors, strings, maps (entry vectors) and sets all work. The empty result is nil. When any input is lazy the answer is a lazy seq, realized element by element. As a value a rest-args lambda, so map takes a bare inc-style name.

(map f) is its transducer, as a value too.