title: Elixir Remove Duplicates From List
body: <p>Would someone be willing to provide some alternate solution to the removal of duplicate values from a List (X) using Functional Programming and Elixir Constructs?</p>
  
  <pre><code>X = [1,26,3,40,5,6,6,7] # the 6 being the duplicate
  </code></pre>
  
  <p>The stock solution in my mind for solving this problem, would be to iterate the list (X), and add to a new list (Y) where the key doesn't already exist.</p>
  
  <p>Thank you</p>