How can I define functions in the Elixir console without getting ** (ArgumentError) cannot invoke def/2 outside module?
How can I define named functions in the Elixir console without getting ** (ArgumentError) cannot invoke def/2 outside module?