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

Hans van Thiel hthiel.char at zonnet.nl
Sat May 19 10:43:36 EDT 2007


On Sat, 2007-05-19 at 15:30 +0100, David House wrote:
> 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.
Works like a charm! Many thanks,

Hans
> 



More information about the Haskell-Cafe mailing list