haskell-src-exts-0.5.4: Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer
Language.Haskell.Exts.Extension
data Extension Source
Constructors
Allow imports to be qualified by the package name that the module is intended to be imported from, e.g.
import "network" Network.Socket
Allow concrete XML syntax to be used in expressions and patterns, as per the Haskell Server Pages extension language: http://www.haskell.org/haskellwiki/HSP. The ideas behind it are discussed in the paper Haskell Server Pages through Dynamic Loading by Niklas Broberg, from Haskell Workshop '05.
Allow regular pattern matching over lists, as discussed in the paper Regular Expression Patterns by Niklas Broberg, Andreas Farre and Josef Svenningsson, from ICFP '04.
Instances
data ExtScheme Source
class Enabled a whereSource
Methods
isEnabled :: a -> [Extension] -> BoolSource