[Haskell-cafe] Re: nhc vs ghc

apfelmus apfelmus at quantentunnel.de
Sat Nov 24 03:27:04 EST 2007


brad clawsie wrote:
> can anyone provide a concise list of the major differences between
> nhc98 and ghc? for example, can i build a cabal package with nhc98? i
> get that ghc and nhc98 are not interchangeable, otherwise i am not
> sure

The major difference is that nhc98 is pretty much Haskell98 only, so no 
multi parameter type classes, rank-n-polymorphism or GADTs. It does 
support existential types, though. In particular, the popular monad 
transformer library isn't Haskell98, at least concerning the type classes.


Regards,
apfelmus



More information about the Haskell-Cafe mailing list