I can't seem to define anything on Haskell.
It says Unexpected '='.
I am running Hugs98 latest 2001 Version right off the Website Windows
Install File.
What am i doing wrong?
You can't define functions at the toplevel in hugs.
Put it in a file and run it from there.
(Yes, it is irritating.)
mrak
Thanks
"Mark Wotton" <mwo...@hons.cs.usyd.edu.au> wrote in message
news:9gup0k$gop$1...@spacebar.ucc.usyd.edu.au...
> You can't define functions at the toplevel in hugs.
Indeed. But you can in GHCi which comes with ghc >= 5.00.
--
__("< Marcin Kowalczyk * qrc...@knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
You are not putting your source code in a separate text file and then
loading it with the :l command.
Nim.