Posts written by Antonio Cangiano

This author has written 3 articles
DB2

Removing Duplicates From a List in Elixir

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…
Continue Reading »