Hey everyone<br><br>I&#39;m new on the list here and just started out learning Haskell and functional programming. I have over 12 years experience programming in various languages, from C to Python. <br><br>I started out with the Why Haskell matters paper (<a href="http://haskell.org/haskellwiki/Why_Haskell_Matters">http://haskell.org/haskellwiki/Why_Haskell_Matters</a>) and ran into a problem with the code below. It&#39;s discussed in the paper but when I save it to test.hs and load it into ghci, I get the following output:<br>

<br>------------------------<br>[1 of 1] Compiling Main             ( test.hs, interpreted )<br><br>test.hs:6:22: parse error on input `=&#39;<br>Failed, modules loaded: none.<br><br>
------------------------<br><br>Could someone give a pointer on where my error lies?<br><br>qsort [] = []<br>qsort (x:xs) = qsort less ++ [x] ++ qsort more<br>    where less = filter (&lt;x) xs<br>        more = filter (&gt;=x) xs<br clear="all">

<br>-- <br>Kind regards<br>Michael Anckaert &lt;<a href="mailto:michael.anckaert@sinax.be" target="_blank">michael.anckaert@sinax.be</a>&gt;<br><a href="http://www.sinax.be" target="_blank">http://www.sinax.be</a><br>