Re: '=' and ':' generate errors
Sven Panne <[email protected]> Sat, 24 Mar 2007 16:55:09 +0100
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 24 March 2007 16:48, [email protected], [email protected] 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.