Re: [hugs-users] ned some Hugs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [hugs-users] ned some Hugs

Doug McIlroy
GHC plays fast and looose with the Haskell 2010 prelude. Two examples:

GHC drops Eq from the context of class Num.

GHC introduces class Applicative.

You will stumble over such discrepancies if you try to write or
read GHC code as if it were Haskell 2010.

Doug

From [hidden email] Fri Jul  6 10:46:41 2018

>  |  ghc/ghci. It's lightweight and its language is properly documented (in the
>  |  Haskell 98 report), neither of which can be said of ghc.

>  I  think that’s a little unfair to GHC 😊. If you don't give any language extension flags you get Haskell 98 -- or nowadays Haskell 2010.

>  Simon

_______________________________________________
Hugs-Users mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/hugs-users