Reversing A List - Part 2
In Reversing A List, I showed how Erlang's :lists.reverse()
function could be used to reverse a list. Since then, Elixir now has a built-in function for reversing lists. In fact, it works with anything that implements the Enumerable
protocol.
Last updated