title: Check if a list of lists has two or more identical elements
body: <p>I need to write a function which checks if a list has two or more same elements and  returns true or false.</p>
  
  <p>For example <code>[3,3,6,1]</code> should return true, but <code>[3,8]</code> should return false. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>identical :: [Int] -&gt; Bool
  identical x = (\n-&gt; filter (&gt;= 2) n )( group x )
  </code></pre>
  
  <p>I know this is bad, and it does not work.
  I wanted to group the list into list of lists, and if the length of a list is >= 2, then it is should return with true otherwise false. </p>