| template-haskell-2.2.0.0 | Source code | Contents | Index

Language.Haskell.TH.Ppr

Documentation

nestDepth :: Int | Source

type Precedence = Int | Source

appPrec :: Precedence | Source

opPrec :: Precedence | Source

noPrec :: Precedence | Source

parensIf :: Bool -> Doc -> Doc | Source

pprint :: Ppr a => a -> String | Source

class Ppr a where | Source

Methods

ppr :: a -> Doc | Source

ppr_list :: [a] -> Doc | Source

Instances

Ppr Clause
Ppr Con
Ppr Dec
Ppr Exp
Ppr Foreign
Ppr FunDep
Ppr Info
Ppr Match
Ppr Name
Ppr Pat
Ppr Range
Ppr Stmt
Ppr Type
Ppr a => Ppr [a]

pprFixity :: Name -> Fixity -> Doc | Source

pprInfixExp :: Exp -> Doc | Source

pprExp :: Precedence -> Exp -> Doc | Source

pprFields :: [(Name, Exp)] -> Doc | Source

pprMaybeExp :: Precedence -> Maybe Exp -> Doc | Source

pprBody :: Bool -> Body -> Doc | Source

pprLit :: Precedence -> Lit -> Doc | Source

pprPat :: Precedence -> Pat -> Doc | Source

pprVarStrictType :: (Name, Strict, Type) -> Doc | Source

pprStrictType :: (Strict, Type) -> Doc | Source

pprParendType :: Type -> Doc | Source

pprTyApp :: (Type, [Type]) -> Doc | Source

split :: Type -> (Type, [Type]) | Source

pprCxt :: Cxt -> Doc | Source

where_clause :: [Dec] -> Doc | Source

showtextl :: Show a => a -> Doc | Source

Produced by Haddock version 0.8