Hugs 98

Sigbjorn Finne sof@galois.com
Mon, 21 Jan 2002 08:26:11 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_00BA_01C1A255.48AB24A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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 -----=20
  From: Christy=20
  To: hugs-bugs@haskell.org=20
  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.

------=_NextPart_000_00BA_01C1A255.48AB24A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>the behaviour you're seeing is=20
intentional</FONT><FONT face=3DArial size=3D2>. To enable =
the</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>extensions, you need to use the -98 =
option when=20
starting</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>up </FONT><FONT face=3DArial =
size=3D2>Hugs. There's a=20
couple of ways of doing that (depending</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>on what platform you're =
on):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>* add -98 to the command-line used when =
invoking=20
Hugs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>* on non-Windows platforms, add -98 to =
your=20
HUGSFLAGS</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; environment =
variable.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>* on Windows platforms, start up the =
interpreter in=20
Hugs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; mode via the start menu. If you =
want to=20
change the default</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; and always start up in 'Hugs =
mode', you can=20
do this,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; somewhat indirectly,&nbsp;by =
</FONT><FONT=20
face=3DArial size=3D2>changing one of the other options,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; so that the option set =
</FONT><FONT=20
face=3DArial size=3D2>is persisted to the Registry. e.g.,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; try doing ":set -t"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>hth</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--sigbjorn</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dcokiejar@yahoo.com =
href=3D"mailto:cokiejar@yahoo.com">Christy</A>=20
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dhugs-bugs@haskell.org=20
  href=3D"mailto:hugs-bugs@haskell.org">hugs-bugs@haskell.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, January 17, =
2002=20
  06:46</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Hugs 98</DIV>
  <DIV><BR></DIV>
  <P>To Hugs,</P>
  <P>Hi, I do not think this is a bug but this is the closest email =
address to=20
  someone who I could email that could possibly help me out. Ok, my =
question is=20
  when you first start up Hugs 98, you see this line printed under the =
version=20
  #, Haskell 98 mode: Restart with command line option -98 to enable =
extensions.=20
  Now I was trying to set option -98 to enable extensions but it keeps =
giving me=20
  error saying Haskell 98 compatibility cannot be changed while the =
interpreter=20
  is running. So now I was wondering, how do I set this option (ie =
enable=20
  extensions). If anyone could shed some light onto this, this would be =
greatly=20
  appreciated. Thank you for your time and hope to get an email from you =

  asap.</P>
  <P>Christy</P>
  <P><BR>
  <HR SIZE=3D1>
  <B>Do You Yahoo!?</B><BR>Send FREE <A=20
  =
href=3D"http://rd.yahoo.com/mail_us/tag/?http://promo.yahoo.com/videomail=
/">video</A>=20
  emails in <A=20
  =
href=3D"http://rd.yahoo.com/mail_us/tag/?http://mail.yahoo.com/">Yahoo!=20
Mail</A>.</BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00BA_01C1A255.48AB24A0--