title: Remove duplicate elements from a list in Erlang
body: <p>How can I remove the duplicate from a list in Erlang?</p>
  
  <p>Suppose I have a list like: </p>
  
  <pre><code>[1,1,2,3,4,5,5,6]
  </code></pre>
  
  <p>How can I get:</p>
  
  <pre><code>[1,2,3,4,5,6]
  </code></pre>