ghc-lib-0.20210228: 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, [LSig GhcPs], FamInst) Source #