[Haskell-cafe] Most Important GHC extensions to learn/use?

Ketil Malde ketil at malde.org
Fri Jun 1 17:10:35 CEST 2012


wren ng thornton <wren at freegeek.org> writes:

> There are a bunch which are mostly just syntax changes. The important
> ones are:

Also, if you have new GHC, it will often tell you if/when you need to
enable extensions.  E.g.:

  Line 8: 1 error(s), 0 warning(s)

  `Pos' has no constructors (-XEmptyDataDecls permits this)
  In the data type declaration for `Pos'

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants



More information about the Haskell-Cafe mailing list