You are viewing a single comment's thread. Return to all comments →
Elixir using recursion and pattern matching
def filter([]), do: nil def filter([x | tail] = _numbers) do filter(tail) IO.puts x end
Seems like cookies are disabled on this browser, please enable them to open this website
Reverse a List
You are viewing a single comment's thread. Return to all comments →
Elixir using recursion and pattern matching