Hacker News new | ask | show | jobs
by JohnCurran 1629 days ago
In Elixir:

list = Enum.map(1..20, & %{foo: &1, bar: "hey"})

Not meant to be a comparison, just another example