by Antonio Cangiano | May 7, 2020 | elixir, elixir-cookbook, Enum, List, programming, recursion, tips
Thanks to the Enum module, in Elixir we can trivially remove duplicates from a list. In the following example, we take a list of integers and pass it to the Enum.uniq/1 function which removes duplicates from the list without altering the original order of the...
Recent Comments