[Haskell] ANNOUNCE: haskell-src-exts 0.4.4

Niklas Broberg niklas.broberg at gmail.com
Thu Dec 4 13:04:25 EST 2008


Fellow Haskelleers,

it is my pleasure to announce the new release of the haskell-src-exts
package, version 0.4.4:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haskell-src-exts-0.4.4
darcs get http://code.haskell.org/HSP/haskell-src-exts

The new feature in this release is support for pragmas.
haskell-src-exts-0.4.4 supports all pragmas supported by GHC, with the
exception of option-level pragmas (LANGUAGE, OPTIONS_GHC etc) that
appear before the module header. The reason these are not yet
supported is simply time, there's no real difficulty involved in
supporting them too and I will surely get there eventually.

0.4.4 is backwards incompatible with 0.4.3 for two constructors:
* The Module constructor (:: Module) now has an extra argument of type
'Maybe WarningText', used for deprecated modules.
* The ImportDecl constructor (:: ImportDecl) now has an extra argument
of type Bool, stating whether the SOURCE pragma has been used for the
import.

The full list of pragmas supported by 0.4.4 is: SOURCE, RULES,
DEPRECATED, WARNING, INLINE, NOINLINE, SPECIALISE, CORE, SCC,
GENERATED and UNPACK.

Cheers and Happy Haskelling,

/Niklas


More information about the Haskell mailing list