Enum

map/2

map(enumerable, fun)

Returns a list where each element is the result of invoking fun on each corresponding element of enumerable.