3 ms·
As far as I'm aware support for this is still not implemented in Elixir, I'm assuming the implementation would match Erlang, but as shown here, it doesn't neces
by bitwalker 10y ago
As far as I'm aware support for this is still not implemented in Elixir, I'm assuming the implementation would match Erlang, but as shown here, it doesn't necessarily have to. Personally I'm of the opinion that functions like this are better written as named functions, but the one place this is awkward is in iex, where you can't define named functions at the top level, so it has it's place.