title: Haskell: parse error (possibly incorrect indentation or mismatched brackets) with list comprehension
body: <p>I am new to Haskell and am trying to write a simple list comprehension and assign it to a variable. Here is my <code>haskell.hs</code> file:</p>
  
  <pre><code>--find all multiples of 3 and 5 under 1000
  multiples :: [Int]
  let multiples = [x | x &lt;- [1..1000], (x `mod` 5 == 0) || (x `mod` 3 == 0)]
  </code></pre>
  
  <p>then when I try to compile the program with <code>ghc haskell.hs</code> I get the following error:</p>
  
  <pre><code>haskell.hs:12:1:
      parse error (possibly incorrect indentation or mismatched brackets)
  </code></pre>
  
  <p>Regards!</p>