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

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

Moduleghc-9.14.1GHC2021

Language.Haskell.Syntax.Basic

  • 10 types
  • 1 value
  • Packageghc-9.14.1
  • Exports11
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceBasic.hs
datadata Boxity
#
Instances4Eq, Data, Outputable, Binary
  • Eq BoxityDefined in ghc-9.14.1 · Language.Haskell.Syntax.Basic
  • Data BoxityDefined in ghc-9.14.1 · Language.Haskell.Syntax.Basic
  • Outputable BoxityDefined in ghc-9.14.1 · GHC.Types.Basic · orphan
  • Binary BoxityDefined in ghc-9.14.1 · GHC.Types.Basic · orphan
typetype ConTag = Int
#

A *one-index* constructor tag

Type of the tags associated with each constructor possibility or superclass selector

newtypenewtype FieldLabelString
#

Field labels are just represented as strings; they are not necessarily unique (even within a module)

Instances6Eq, Data, NFData, Outputable, Uniquable, Anno
datadata Role
#

See Note [Roles] in GHC.Core.Coercion

Order of constructors matters: the Ord instance coincides with the *super*typing relation on roles.

Instances7Eq, Data, Ord, NFData, Outputable, Binary, …
  • Eq RoleDefined in ghc-9.14.1 · Language.Haskell.Syntax.Basic
  • Data RoleDefined in ghc-9.14.1 · Language.Haskell.Syntax.Basic
  • Ord RoleDefined in ghc-9.14.1 · Language.Haskell.Syntax.Basic
  • NFData RoleDefined in ghc-9.14.1 · GHC.Core.Coercion.Axiom · orphan
  • Outputable RoleDefined in ghc-9.14.1 · GHC.Core.Coercion.Axiom · orphan
  • Binary RoleDefined in ghc-9.14.1 · GHC.Core.Coercion.Axiom · orphan
  • type Anno (Maybe Role) = EpAnnCODefined in ghc-9.14.1 · GHC.Hs.Decls · orphan
datadata SrcStrictness
#

Source Strictness

What strictness annotation the user wrote

Constructors

Instances5Eq, Data, NFData, Outputable, Binary
datadata SrcUnpackedness
#

Source Unpackedness

What unpackedness the user requested

Constructors

Instances5Eq, Data, NFData, Outputable, Binary
datadata LexicalFixity
#

Captures the fixity of declarations as they are parsed. This is not necessarily the same as the fixity declaration, as the normal fixity may be overridden using parens or backticks.

Instances3Eq, Data, Outputable