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-lib-parser-9.14.1.20251220GHC2021

GHC.Types.FieldLabel

  • 4 types
  • 2 values
datadata FieldLabel
#

Fields in an algebraic record type; see Note [FieldLabel].

Constructors

Instances6Eq, Data, NFData, Outputable, Binary, HasOccName
  • Eq FieldLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.FieldLabel
  • Data FieldLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.FieldLabel
  • NFData FieldLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.Name · orphan
  • Outputable FieldLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.FieldLabel
  • Binary Name => Binary FieldLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.FieldLabel

    We need the Binary Name constraint here even though there is an instance defined in GHC.Types.Name, because the we have a SOURCE import, so the instance is not in scope. And the instance cannot be added to Name.hs-boot because GHC.Utils.Binary itself depends on GHC.Types.Name.

  • HasOccName FieldLabelDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Types.FieldLabel

Flag to indicate whether the DuplicateRecordFields extension is enabled.

Constructors

Instances6Eq, Data, Show, NFData, Outputable, Binary
datadata FieldSelectors
#

Flag to indicate whether the FieldSelectors extension is enabled.

Constructors

Instances6Eq, Data, Show, NFData, Outputable, Binary

Orphan instances

2 instances