Language.Haskell.TH.Ppr
Description
contains a prettyprinter for the Template Haskell datatypes
Documentation
type Precedence = Int
appPrec, noPrec, opPrec :: Precedence
class Ppr a where
pprInfixExp :: Exp -> Doc
pprExp :: Precedence -> Exp -> Doc
pprMaybeExp :: Precedence -> Maybe Exp -> Doc
pprLit :: Precedence -> Lit -> Doc
pprPat :: Precedence -> Pat -> Doc
ppr_activation :: Maybe (Bool, Int) -> Doc
pprVarStrictType :: (Name, Strict, Type) -> Doc
pprStrictType :: (Strict, Type) -> Doc
pprParendType :: Type -> Doc
pprFunArgType :: Type -> Doc
pprArrowArgKind :: Kind -> Doc
where_clause :: [Dec] -> Doc
hashParens :: Doc -> Doc