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

GHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.Hs.Binds

  • 14 types
  • 31 values
  • Packageghc-9.14.1
  • Exports46
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceBinds.hs

Extracts the name for a SPECIALIZE instance pragma. In hsSigDoc, the src field of SpecInstSig signature contains the SourceText for a SPECIALIZE instance pragma of the form: "SourceText {-# SPECIALIZE"

Extraction ensures that all variants of the pragma name (with a Z or an S) are output exactly as used in the pragma.

datadata AbsBinds
#

Typechecked, generalised bindings, used in the output to the type checker. See Note [AbsBinds].

Constructors

Instances1Data
  • Data AbsBindsDefined in ghc-9.14.1 · GHC.Hs.Instances · orphan
datadata HsRuleBndrsAnn
#

Constructors

Instances3Eq, Data, NoAnn
newtypenewtype IdSig
#

A type signature in generated code, notably the code generated for record selectors. We simply record the desired Id itself, replete with its name, type and IdDetails. Otherwise it's just like a type signature: there should be an accompanying binding

Constructors

Instances1Data
  • Data IdSigDefined in ghc-9.14.1 · GHC.Hs.Binds
datadata NamespaceSpecifier
#

Optional namespace specifier for fixity signatures, WARNINIG and DEPRECATED pragmas.

Examples:

{-# WARNING in "x-partial" data Head "don't use this pattern synonym" #-} -- ↑ DataNamespaceSpecifier

{-# DEPRECATED type D "This type was deprecated" #-} -- ↑ TypeNamespaceSpecifier

infixr 6 data $ -- ↑ DataNamespaceSpecifier

Instances3Eq, Data, Outputable
datadata TcSpecPrag
#

Type checker Specialisation Pragma

This data type is used to communicate between the typechecker and the desugarer.

Constructors

Instances2Data, Outputable
datadata HsRuleBndrsAnn
#

Constructors

Instances3Eq, Data, NoAnn

Orphan instances

11 instances