HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduleghc-boot-th-10.0.0.20260917Haskell2010

GHC.Boot.TH.Ppr

contains a prettyprinter for the Template Haskell datatypes

  • 3 types
  • 2 classes
  • 78 values
classclass Ppr a where
#

Methods

Instances35Ppr, …
  • Ppr TypeArgDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr BangDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr ClauseDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr ConDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr DecDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr DecidedStrictnessDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr ExpDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr FamilyResultSigDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr ForeignDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr FunDepDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr InfoDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr InjectivityAnnDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr InlineDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr LitDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr LocDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr MatchDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr ModuleDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr ModuleInfoDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr NameDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr PatDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr PatSynArgsDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr PatSynDirDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr PhasesDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr PragmaDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr RangeDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr RoleDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr RuleBndrDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr RuleMatchDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr SourceStrictnessDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr SourceUnpackednessDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr StmtDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr TyLitDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr TypeDefined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • Ppr a => Ppr [a]Defined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
  • PprFlag flag => Ppr (TyVarBndr flag)Defined in ghc-boot-th-10.0.0.20260917 · GHC.Boot.TH.Ppr
valuepprPatSynType :: PatSynType -> Doc
#

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.