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 _______________________________________________ Hugs-Bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-bugs
