Enum.map/2
defmodule Enum do
def map(enumerable, fun)
end
Returns a list where each element is the result of invoking fun
on each corresponding element of enumerable.
defmodule Enum do
def map(enumerable, fun)
end
Returns a list where each element is the result of invoking fun
on each corresponding element of enumerable.