TcTyClsDecls

ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

TcTyClsDecls

# Documentation

tcTyAndClassDecls :: ModDetails -> [TyClGroup Name] -> TcM TcGblEnv Source

tcAddImplicits :: [TyThing] -> TcM TcGblEnv Source

kcDataDefn :: HsDataDefn Name -> TcKind -> TcM () Source

tcConDecls :: NewOrData -> TyCon -> ([TyVar], Type) -> [LConDecl Name] -> TcM [DataCon] Source

dataDeclChecks :: Name -> NewOrData -> ThetaType -> [LConDecl Name] -> TcM Bool Source

checkValidTyCon :: TyCon -> TcM () Source

tcSynFamInstDecl :: TyCon -> TyFamInstDecl Name -> TcM CoAxBranch Source

tcFamTyPats :: Name -> Kind -> HsWithBndrs [LHsType Name] -> (TcKind -> TcM ()) -> ([TKVar] -> [TcType] -> Kind -> TcM a) -> TcM a Source

tcAddTyFamInstCtxt :: TyFamInstDecl Name -> TcM a -> TcM a Source

tcAddDataFamInstCtxt :: DataFamInstDecl Name -> TcM a -> TcM a Source

wrongKindOfFamily :: TyCon -> SDoc Source

dataConCtxt :: Outputable a => a -> SDoc Source

badDataConTyCon :: DataCon -> Type -> Type -> SDoc Source