[Haskell-beginners] Syntax error in input

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


Hi, 
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/2f861e7f/attachment.htm>


More information about the Beginners mailing list