floskell-0.10.6: A flexible Haskell source code pretty printer
Safe HaskellNone
LanguageHaskell2010

Floskell.Pretty

Synopsis

Documentation

class Pretty ast where Source #

Type class for pretty-printable types.

Minimal complete definition

Nothing

Methods

prettyPrint :: ast NodeInfo -> Printer () Source #

default prettyPrint :: Pretty (ast NodeInfo) => ast NodeInfo -> Printer () Source #

Instances

Instances details
Pretty ModuleName Source # 
Instance details

Defined in Floskell.Pretty

Pretty QName Source # 
Instance details

Defined in Floskell.Pretty

Pretty Name Source # 
Instance details

Defined in Floskell.Pretty

Pretty IPName Source # 
Instance details

Defined in Floskell.Pretty

Pretty QOp Source # 
Instance details

Defined in Floskell.Pretty

Pretty Op Source # 
Instance details

Defined in Floskell.Pretty

Pretty Module Source # 
Instance details

Defined in Floskell.Pretty

Pretty ModuleHead Source # 
Instance details

Defined in Floskell.Pretty

Pretty ExportSpec Source # 
Instance details

Defined in Floskell.Pretty

Pretty ImportDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty ImportSpecList Source # 
Instance details

Defined in Floskell.Pretty

Pretty ImportSpec Source # 
Instance details

Defined in Floskell.Pretty

Pretty Assoc Source # 
Instance details

Defined in Floskell.Pretty

Pretty Decl Source # 
Instance details

Defined in Floskell.Pretty

Pretty TypeEqn Source # 
Instance details

Defined in Floskell.Pretty

Pretty Annotation Source # 
Instance details

Defined in Floskell.Pretty

Pretty BooleanFormula Source # 
Instance details

Defined in Floskell.Pretty

Pretty DataOrNew Source # 
Instance details

Defined in Floskell.Pretty

Pretty InjectivityInfo Source # 
Instance details

Defined in Floskell.Pretty

Pretty ResultSig Source # 
Instance details

Defined in Floskell.Pretty

Pretty DeclHead Source # 
Instance details

Defined in Floskell.Pretty

Pretty InstRule Source # 
Instance details

Defined in Floskell.Pretty

Pretty InstHead Source # 
Instance details

Defined in Floskell.Pretty

Pretty Deriving Source # 
Instance details

Defined in Floskell.Pretty

Pretty DerivStrategy Source # 
Instance details

Defined in Floskell.Pretty

Pretty Binds Source # 
Instance details

Defined in Floskell.Pretty

Pretty IPBind Source # 
Instance details

Defined in Floskell.Pretty

Pretty Match Source # 
Instance details

Defined in Floskell.Pretty

Pretty QualConDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty ConDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty FieldDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty GadtDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty ClassDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty InstDecl Source # 
Instance details

Defined in Floskell.Pretty

Pretty BangType Source # 
Instance details

Defined in Floskell.Pretty

Pretty Unpackedness Source # 
Instance details

Defined in Floskell.Pretty

Pretty Rhs Source # 
Instance details

Defined in Floskell.Pretty

Pretty GuardedRhs Source # 
Instance details

Defined in Floskell.Pretty

Pretty Type Source # 
Instance details

Defined in Floskell.Pretty

Pretty Promoted Source # 
Instance details

Defined in Floskell.Pretty

Pretty TyVarBind Source # 
Instance details

Defined in Floskell.Pretty

Pretty FunDep Source # 
Instance details

Defined in Floskell.Pretty

Pretty Context Source # 
Instance details

Defined in Floskell.Pretty

Pretty Asst Source # 
Instance details

Defined in Floskell.Pretty

Pretty Literal Source # 
Instance details

Defined in Floskell.Pretty

Pretty Exp Source # 
Instance details

Defined in Floskell.Pretty

Pretty XName Source # 
Instance details

Defined in Floskell.Pretty

Pretty XAttr Source # 
Instance details

Defined in Floskell.Pretty

Pretty Bracket Source # 
Instance details

Defined in Floskell.Pretty

Pretty Splice Source # 
Instance details

Defined in Floskell.Pretty

Pretty Safety Source # 
Instance details

Defined in Floskell.Pretty

Pretty CallConv Source # 
Instance details

Defined in Floskell.Pretty

Pretty ModulePragma Source # 
Instance details

Defined in Floskell.Pretty

Pretty Overlap Source # 
Instance details

Defined in Floskell.Pretty

Pretty Activation Source # 
Instance details

Defined in Floskell.Pretty

Pretty Rule Source # 
Instance details

Defined in Floskell.Pretty

Pretty RuleVar Source # 
Instance details

Defined in Floskell.Pretty

Pretty WarningText Source # 
Instance details

Defined in Floskell.Pretty

Pretty Pat Source # 
Instance details

Defined in Floskell.Pretty

Pretty PXAttr Source # 
Instance details

Defined in Floskell.Pretty

Pretty RPat Source # 
Instance details

Defined in Floskell.Pretty

Pretty PatField Source # 
Instance details

Defined in Floskell.Pretty

Pretty Stmt Source # 
Instance details

Defined in Floskell.Pretty

Pretty QualStmt Source # 
Instance details

Defined in Floskell.Pretty

Pretty FieldUpdate Source # 
Instance details

Defined in Floskell.Pretty

Pretty Alt Source # 
Instance details

Defined in Floskell.Pretty

pretty :: (Annotated ast, Pretty ast) => ast NodeInfo -> Printer () Source #

Pretty print a syntax tree with annotated comments