24 Mar
2007
24 Mar
'07
9:26 p.m.
Hi
Is Hugs98 broken on my system?
No
test :: Int ERROR - Undefined variable "test"
This defines the name test to be an Int, but what is test? Have you introduced it earlier? Try instead:
1 :: Int
size = 12+13 ERROR - Syntax error in input (unexpected `=')
You can't do that at the hugs prompt, but you can in a file. In a command prompt perhaps: let size = 12+13 in size Thanks Neil