Re: Problems...
Hans Aberg <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <v03110705b965d91555c1@[195.100.226.128]> |
At 10:31 -0300 2002/07/25, Pedro L. P. Dias wrote: 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", Dig-it, Hugs is hooked up so that definitions must be in a file. So put the stuff in a file and then load that file. Hans Aberg