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

Language.Haskell.Syntax.Pat

  • 12 types
  • 7 values
  • Packageghc-9.10.3
  • Exports21
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourcePat.hs
datadata Pat p
#

Constructors

Instances7Data, Outputable, HasType, ToHie, Anno, …
datadata HsConPatTyArg p
#

Type argument in a data constructor pattern, e.g. the @a in f (Just @a x) = ....

Constructors

Instances4Data, Outputable
datadata HsRecFields p arg
#

Haskell Record Fields

HsRecFields is used only for patterns and expressions (not data type declarations)

Instances5ToHie, Data, Outputable
datadata HsFieldBind lhs rhs
#

Haskell Field Binding

For details on above see Note [exact print annotations] in GHC.Parser.Annotation

Constructors

Instances7Functor, Foldable, Traversable, ToHie, Data, Outputable, …