title: List comprehension is removing first character, why?
body: <p>I'm trying to implement a function that eliminates the spaces of a string. I don't understand why this list comprehension is eliminating the first character, if the predicate explicitly filters only empty spaces.</p>
  
  <pre><code>import Data.List
  import System.IO
  
  noSpace :: String -&gt; String
  noSpace (x:xs) = [x | x &lt;- xs, x /= ' ']
  
  main = do
    print(noSpace("8 j 8   mBliB8g  imjB8B8  jl  B"))
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>"j8mBliB8gimjB8B8jlB"
  </code></pre>
  
  <p>Should be:</p>
  
  <pre><code>8j8mBliB8gimjB8B8jlB
  </code></pre>