|
Hi,
the behaviour you're seeing is
intentional. To enable the
extensions, you need to use the -98 option when
starting
up Hugs. There's a
couple of ways of doing that (depending
on what platform you're on):
* add -98 to the command-line used when invoking
Hugs
* on non-Windows platforms, add -98 to your
HUGSFLAGS
environment variable.
* on Windows platforms, start up the interpreter in
Hugs
mode via the start menu. If you want to
change the default
and always start up in 'Hugs mode', you can
do this,
somewhat indirectly, by changing one of the other options,
so that the option set is persisted to the Registry. e.g.,
try doing ":set -t"
hth
--sigbjorn
----- Original Message -----
Sent: Thursday, January 17, 2002
06:46
Subject: Hugs 98
To Hugs,
Hi, I do not think this is a bug but this is the closest email address to
someone who I could email that could possibly help me out. Ok, my question is
when you first start up Hugs 98, you see this line printed under the version
#, Haskell 98 mode: Restart with command line option -98 to enable extensions.
Now I was trying to set option -98 to enable extensions but it keeps giving me
error saying Haskell 98 compatibility cannot be changed while the interpreter
is running. So now I was wondering, how do I set this option (ie enable
extensions). If anyone could shed some light onto this, this would be greatly
appreciated. Thank you for your time and hope to get an email from you
asap.
Christy
Do You Yahoo!? Send FREE video
emails in Yahoo!
Mail.
|