hindent-6.0.0: Extensible Haskell pretty printer
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIndent.Pretty

Description

Pretty printing.

Some instances define top-level functions to handle CPP.

Some value constructors never appear in an AST. GHC has three stages for using an AST: parsing, renaming, and type checking, and GHC uses these constructors only in remaining and type checking.

Synopsis

Documentation

pretty :: Pretty a => a -> Printer () Source #

This function pretty-prints the given AST node with comments.