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

Language.Haskell.TH.Ppr

Documentation

nestDepth :: Int | Source

type Precedence = Int | Source

opPrec :: Precedence | Source

noPrec :: Precedence | Source

appPrec :: 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 Exp
Ppr Match
Ppr Clause
Ppr Pat
Ppr Type
Ppr Dec
Ppr Name
Ppr FunDep
Ppr Con
Ppr Foreign
Ppr Range
Ppr Stmt
Ppr Info
Ppr a => Ppr ([] a)

ppr_sig :: Name -> Type -> Doc | Source

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

pprFunArgType :: 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 2.4.2