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.Tc.Types.ErrCtxt

  • 7 types
  • 5 values
datadata HsCtxt
#

The "context" of an error message, e.g. "In the expression ...", "In the pattern ...", or "In the equations for closed type family ...".

Constructors

Instances1Data
  • Data HsCtxtDefined in ghc-10.0.0.20260917 · GHC.Hs.Instances · orphan

UserTypeCtxt

6 declarations
datadata UserTypeCtxt
#
Instances1Eq

Report Redundant Constraints.

Constructors

  • NoRRC

    Don't report redundant constraints

  • WantRRC SrcSpan

    Report redundant constraints The SrcSpan is for the constraints E.g. f :: (Eq a, Ord b) => blah The span is for the (Eq a, Ord b) We need to record the span here because we have long since discarded the HsType in favour of a Type

Instances1Eq