Moduletemplate-haskell-2.25.0.0Haskell2010
Language.Haskell.TH.Ppr
contains a prettyprinter for the Template Haskell datatypes
Synopsis
- value appPrec
- value bar
- value bytesToString
- value commaSep
- value commaSepApplied
- value commaSepWith
- value fromTANormal
- value funPrec
- value hashParens
- value isStarT
- value isSymOcc
- value nestDepth
- value noPrec
- value opPrec
- value parensIf
- value pprBangType
- value pprBndrVis
- value pprBody
- value pprClause
- value pprCtxWith
- value pprCxt
- value pprExp
- value pprFields
- value pprFixity
- value pprForall
- value pprForall'
- value pprForallVis
- value pprFunArgType
- value pprGadtRHS
- value pprGuarded
- value pprInfixExp
- value pprInfixT
- value pprLit
- value pprMatchPat
- value pprMaybeExp
- value pprNamespaceSpecifier
- value pprParendType
- value pprParendTypeArg
- value pprPat
- value pprPatSynSig
- value pprPatSynType
- value pprPrefixOcc
- value pprRecFields
- value pprStrictType
- value pprString
- value pprTyApp
- value pprTyLit
- value pprType
- value pprVarBangType
- value pprVarStrictType
- value ppr_bndrs
- value ppr_ctx_preds_with
- value ppr_cxt_preds
- value ppr_data
- value ppr_dec
- value ppr_deriv_clause
- value ppr_deriv_strategy
- value ppr_newtype
- value ppr_overlap
- value ppr_sig
- value ppr_tf_head
- value ppr_tySyn
- value ppr_type_data
- value ppr_typedef
- value pprint
- value qualPrec
- value quoteParens
- value semiSep
- value semiSepWith
- value sepWith
- value showtextl
- value sigPrec
- value split
- value unboxedSumBars
- value unopPrec
- value where_clause
- data ForallVisFlag
- class Ppr
- class PprFlag
- type Precedence
- data TypeArg
- Packagetemplate-haskell-2.25.0.0
- Exports81
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourcePpr.hs
Pretty prints a pattern synonym type signature
Pretty prints a pattern synonym's type; follows the usual conventions to print a pattern synonym type compactly, yet unambiguously. See the note on PatSynType and the section on pattern synonyms in the GHC user's guide for more information.
Deprecated. As of template-haskell-2.11.0.0, StrictType has been replaced by BangType. Please use pprBangType instead.
Deprecated. As of template-haskell-2.11.0.0, VarStrictType has been replaced by VarBangType. Please use pprVarBangType instead.
Instances1Show
Show ForallVisFlagDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
Instances35Ppr, …
Ppr TypeArgDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr BangDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr ClauseDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr ConDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr DecDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr DecidedStrictnessDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr ExpDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr FamilyResultSigDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr ForeignDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr FunDepDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr InfoDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr InjectivityAnnDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr InlineDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr LitDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr LocDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr MatchDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr ModuleDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr ModuleInfoDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr NameDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr PatDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr PatSynArgsDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr PatSynDirDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr PhasesDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr PragmaDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr RangeDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr RoleDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr RuleBndrDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr RuleMatchDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr SourceStrictnessDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr SourceUnpackednessDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr StmtDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr TyLitDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr TypeDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPpr a => Ppr [a]Defined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPprFlag flag => Ppr (TyVarBndr flag)Defined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
Methods
pprTyVarBndr :: TyVarBndr flag -> Doc
Instances3PprFlag
PprFlag BndrVisDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPprFlag SpecificityDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.PprPprFlag ()Defined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr