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-10.0.0.20260917GHC2024

GHC.Parser.Errors.Types

  • 20 types
  • 3 values
datadata PsHeaderMessage
#

Constructors

Instances2Generic, Rep
datadata PsMessage
#

Constructors

Instances5Generic, Diagnostic, Rep, DiagnosticOpts, DiagnosticHint
datadata LexErr
#

Constructors

Instances3Eq, Ord, Show
  • Eq LexErrDefined in ghc-10.0.0.20260917 · GHC.Parser.Errors.Types
  • Ord LexErrDefined in ghc-10.0.0.20260917 · GHC.Parser.Errors.Types
  • Show LexErrDefined in ghc-10.0.0.20260917 · GHC.Parser.Errors.Types
datadata SuggestModifiers
#

Whether or not to add a hint about enabling -XModifiers, when we throw an error about modifier syntax.

We suggest enabling it when modifier syntax is used in a place it's recognized, but the extension is disabled. We don't suggest enabling it when modifier syntax is used in a place it's not recognized.

See Note [Overview of Modifiers] in Language.Haskell.Syntax.Type.