Planet DB2
  • About
  • Submit Your Blog
  • Contact Us
Select Page

Removing Duplicates From a List in Elixir

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 Posts

  • The DB2Night Show #234: Db2 Query Optimization 101
  • Happy Birthday to the IBM Mainframe
  • Upcoming Db2 IDUG conferences
  • Db2 for z/OS: Clearing Up Some Matters Pertaining to PGSTEAL(NONE) Buffer Pools
  • cron-like scheduling on IBM Cloud

Recent Comments

    Copyright 2020 Planet DB2
    ×

    Submit Your Blog