[Haskell-cafe] Accepted by Hugs, not by GHC

David House dmhouse at gmail.com
Sat May 19 10:30:23 EDT 2007


On 19/05/07, Hans van Thiel <hthiel.char at zonnet.nl> wrote:
> causes no problems in Hugs (-98 flag) but compiling with GHC produces:

There's the solution to your problem: type synonym instances aren't
Haskell98, so you have to pass the -98 flag ('turn on extensions') to
Hugs in order for it to work. The corresponding GHC flag is
-fglasgow-exts. Try that.

-- 
-David House, dmhouse at gmail.com


More information about the Haskell-Cafe mailing list