<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>I found the error, silly mistake, sorry :-)</span></div><div><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> bahadýr altan &lt;doaltan@yahoo.co.uk&gt;<br> <b><span style="font-weight: bold;">To:</span></b> "beginners@haskell.org" &lt;beginners@haskell.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, 2 April 2012, 19:44<br> <b><span style="font-weight: bold;">Subject:</span></b> Syntax error in input <br> </font> </div> <br><div id="yiv1943292279"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt;
 font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: times, serif; ">Hi,&nbsp;</div><div style="font-size: 12pt; font-family: times, serif; "><span style="font-size:12pt;">I wrote that function:</span></div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div><font face="'times new roman', 'new york', times, serif">&nbsp;wordCount x = length(words x)</font><br></div><div><font face="'times new roman', 'new york', times, serif">but I get this :</font></div><div><font face="'times new roman', 'new york', times, serif"><div>ERROR "a.hs":73 - Syntax error in input (unexpected symbol "wordCount")</div><div><br></div><div>Can you tell me how can I get rid of this error please?
 Thanks..</div><div><br></div></font></div></div></div></div><br><br> </div> </div>  </div></body></html>