TcGenGenerics

ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

TcGenGenerics

# Documentation

canDoGenerics :: TyCon -> Validity Source #

canDoGenerics1 :: TyCon -> Validity Source #

data GenericKind Source #

Constructors

Gen0 |
Gen1 |

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

get_gen1_constrained_tys :: TyVar -> Type -> [Type] Source #