[Haskell-beginners] Syntax error in input

bahadýr altan doaltan at yahoo.co.uk
Mon Apr 2 18:47:03 CEST 2012

I found the error, silly mistake, sorry :-)

 From: bahadýr altan <doaltan at yahoo.co.uk>
To: "beginners at haskell.org" <beginners at haskell.org> 
Sent: Monday, 2 April 2012, 19:44
Subject: Syntax error in input 

I wrote that function:

 wordCount x = length(words x)

but I get this :
ERROR "a.hs":73 - Syntax error in input (unexpected symbol "wordCount")

Can you tell me how can I get rid of this error please? Thanks..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120402/ca716c1a/attachment-0001.htm>

More information about the Beginners mailing list