[Hugs-users] '=' and ':' generate errors

Dave at haskell.org Dave at haskell.org
Sat Mar 24 11:48:23 EDT 2007


running Hugs98 sept 2006 version, on AMD 64-bit OpenBSD 4.0,

test :: Int
ERROR - Undefined variable "test"

size = 12+13
ERROR - Syntax error in input (unexpected `=')

These lines are right out of _The Craftf of Functional Programming_,
2nd Edition, which I just received in the mail.

Is Hugs98 broken on my system?

Thanks,
Dave Feustel


More information about the Hugs-Users mailing list