[Hugs-users] '=' and ':' generate errors
Sven Panne
sven.panne at aedion.de
Sat Mar 24 11:55:09 EDT 2007
On Saturday 24 March 2007 16:48, Dave at haskell.org, Feustel at haskell.org wrote:
> [...] Is Hugs98 broken on my system?
No. What you can enter at the prompt are either Haskell expressions or Hugs
commands (use ':?' to seem them all). 'test :: Int' is an expression, but if
you haven't loaded any script, test is undefined, and Hugs is telling you
that. 'size = 12 + 13' is not an expression, but the definition of the value
of 'size', and you can't do this on the prompt. Put that into a file and load
it via :l, and this should make Hugs (and you ;-) happy...
Cheers,
S.
More information about the Hugs-Users
mailing list