Safe Haskell | None |
---|
Language.Haskell.TH.Ppr
Description
contains a prettyprinter for the Template Haskell datatypes
Documentation
type Precedence = Int
noPrec :: Precedence
opPrec :: Precedence
class Ppr a where
pprInfixExp :: Exp -> Doc
pprExp :: Precedence -> Exp -> Doc
pprMaybeExp :: Precedence -> Maybe Exp -> Doc
pprGuarded :: Doc -> (Guard, Exp) -> Doc
pprLit :: Precedence -> Lit -> Doc
bytesToString :: [Word8] -> String
pprPat :: Precedence -> Pat -> Doc
pprVarStrictType :: (Name, Strict, Type) -> Doc
pprStrictType :: (Strict, Type) -> Doc
pprParendType :: Type -> Doc
pprFunArgType :: Type -> Doc
where_clause :: [Dec] -> Doc
hashParens :: Doc -> Doc
quoteParens :: Doc -> Doc