| Copyright | (c) Niklas Broberg 2009 | 
|---|---|
| License | BSD-style (see the file LICENSE.txt) | 
| Maintainer | Niklas Broberg, d00nibro@chalmers.se | 
| Stability | stable | 
| Portability | portable | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell98 | 
Language.Haskell.Exts.ExactPrint
Description
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.
Synopsis
- exactPrint :: ExactP ast => ast SrcSpanInfo -> [Comment] -> String
 - class Annotated ast => ExactP (ast :: Type -> Type)
 
Documentation
exactPrint :: ExactP ast => ast SrcSpanInfo -> [Comment] -> String Source #
Print an AST exactly as specified by the annotations on the nodes in the tree.
class Annotated ast => ExactP (ast :: Type -> Type) Source #
Minimal complete definition
exactP