ghc-lib-9.0.1.20210207: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Tc.Deriv.Generics

Description

The deriving code for the Generic class

Documentation

canDoGenerics :: TyCon -> Validity Source #

canDoGenerics1 :: TyCon -> Validity Source #

data GenericKind Source #

Constructors

Gen0 
Gen1 

gen_Generic_binds :: GenericKind -> TyCon -> [Type] -> TcM (LHsBinds GhcPs, FamInst) Source #