Problems...

"Pedro L. P. Dias" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <000b01c233df$b5a358e0$d28cbfc8@pd>
Dear Sir:

I installed Hugs in my computer, and I'm reading "A Gentle Introduction to Haskell 98" downloaded from Haskell website.
I start Hugs, and, at the line command "prelude>", when I digit, for example, "add x y = x  + y", an error message appear: "...unexpected '='".
Also, when I digit (other example) "inc n = n + 1", the error message is "undefined variable inc", or, sometimes, for the same digited line command, "undefined variable n".
I'm just typing what is showed in that manual...
Could you, please, help me?

Thank you very much.
Best regards,
Pedro.
Rio de Janeiro, Brazil.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.