newbug?

Alastair Reid reid@cs.utah.edu
30 Apr 2002 12:54:18 +0100


> ERROR "C:\Program Files\Hugs98\demos\Stack.hs":5 - Haskell 98 does
> not support r estricted type synonyms

The clue is in the error message (though the error message could,
perhaps, be more explicit about the fix).

Haskell 98 does not support restricted type synonyms but Hugs does.
If you :set -98 to turn off the Haskell 98 restrictions, things should
work fine.  (See manual for details of :set)

> If I use the .lhs literal configuration the error message seems to
> go away, but I still don't seem to be able to see any demos.

In literate mode, Hugs will ignore lines of code which don't start
with a '>' so it doesn't detect any errors because it doesn't see any
code.


Hope this helps,

--
Alastair Reid