[Haskell-cafe] Downside of -fglasgow-extensions

Ian Lynagh igloo at earth.li
Wed Nov 28 08:50:10 EST 2007


On Wed, Nov 28, 2007 at 12:08:30PM +0100, Henning Thielemann wrote:
> 
>   type List = []
>  Although not wrong, it is not Haskell 98

It's valid Haskell 98 as far as I know.

Advantages of listing the extensions used are
* Cabal knows whether hugs, for example, can compile the package
* Assuming hugs can compile it, you don't have to have give a different
  flag to enable extensions in hugs
* It allows us to see, by querying hackage, which extensions are used a
  lot and which are not used at all.


Thanks
Ian



More information about the Haskell-Cafe mailing list