Int package:haskell-src-exts
- GHC § 8.1.4 Enable interruptible FFI.
A literal integer expression.
A literal integer pattern.
Exact-printer for Haskell abstract syntax. The input is a
(semi-concrete) abstract syntax tree, annotated with exact source
information to enable printing the tree exactly as it was parsed.
Print an AST exactly as specified by the annotations on the nodes in
the tree.
- GHC § 7.40 Allow type classimplicit
parameterequality constraints to be used as types with the special
kind Constraint. Also generalise the (ctxt => ty) syntax so that
any type of kind Constraint can occur before the arrow.
- GHC § 8 Enable the Foreign Function Interface. In GHC,
implements the standard Haskell 98 Foreign Function Interface
Addendum, plus some GHC-specific extensions.
render the document with a given mode. renderWithMode :: PPHsMode
-> Doc -> String renderWithMode = renderStyleMode P.style
render the document with
defaultMode. render :: Doc ->
String render = renderWithMode defaultMode
pretty-print with a given style and mode.
pretty-print with the default style and a given mode.
parsed value and raw string