HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Types.FieldLabel

Synopsis
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