Moduleghc-9.10.3GHC2021
GHC.Tc.Deriv
Handles deriving clauses on data declarations.
- 1 type
- 1 value
- Packageghc-9.10.3
- Exports2
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceDeriv.hs
Stuff needed to process a datatype's deriving clauses
Constructors
DerivInfodi_rep_tc :: TyConThe data tycon for normal datatypes, or the *representation* tycon for data families
di_scoped_tvs :: ![(Name, TyVar)]Variables that scope over the deriving clause. See
Note [Scoped tyvars in a TcTyCon]in GHC.Core.TyCon.di_clauses :: [LHsDerivingClause GhcRn]di_ctxt :: SDocerror context