HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.Hs.Lit

Source-language literals

  • 2 types
  • 6 values
  • Packageghc-9.10.3
  • Exports8
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceLit.hs
valuepmPprHsLit :: HsLit (GhcPass x) -> SDoc
#

pmPprHsLit pretty prints literals and is used when pretty printing pattern match warnings. All are printed the same (i.e., without hashes if they are primitive and not wrapped in constructors if they are boxed). This happens mainly for too reasons: * We do not want to expose their internal representation * The warnings become too messy

Orphan instances

3 instances