haskell-src-exts: Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer

[ bsd3, language, library ] [ Propose Tags ] [ Report a vulnerability ]

Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension of the standard haskell-src package, and handles most registered syntactic extensions to Haskell, including:

  • Multi-parameter type classes with functional dependencies

  • Indexed type families (including associated types)

  • Empty data declarations

  • GADTs

  • Implicit parameters

  • Template Haskell

and a few more. All extensions implemented in GHC are supported. Apart from these standard extensions, it also handles regular patterns as per the HaRP extension as well as HSX-style embedded XML syntax.

For details on usage, please see the website.

Flags

Automatic Flags
NameDescriptionDefault
base4Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.