f = fn x -> x*2 end
Enum.map([1,1,1], f)
It is possible to add support for using local defined functions in ampersand notation?Example:f = fn x -> x*2 end
Enum.map([1,1,1], &f/1)
It would really simplify thosecalls, especially with functions passed as function arguments.&f.(&1)