ghc-8.0.1: The GHC API

Safe HaskellNone
LanguageHaskell2010

TcTyClsDecls

Documentation

kcDataDefn Source #

Arguments

:: Name

the family name, for error msgs only

-> HsTyPats Name

the patterns, for error msgs only

-> HsDataDefn Name

the RHS

-> TcKind

the expected kind

-> TcM () 

tcFamTyPats :: FamTyConShape -> Maybe ClsInfo -> HsTyPats Name -> (TcKind -> TcM ()) -> ([TyVar] -> [TcType] -> Kind -> TcM a) -> TcM a Source #

famTyConShape :: TyCon -> FamTyConShape Source #