map
lib.lists.map
Primop
Docs pulled from | This Revision | 17 minutes ago
Takes 2 arguments
f, list
Apply the function f to each element in the list list. For example,
map (x: "foo" + x) [ "bar" "bla" "abc" ]
evaluates to [ "foobar" "foobla" "fooabc" ]
.