Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
tcConDecls :: TyCon -> ([TyConBinder], Type) -> [LConDecl Name] -> TcM [DataCon] Source #
checkValidTyCon :: TyCon -> TcM () Source #
tcFamTyPats :: FamTyConShape -> Maybe ClsInstInfo -> HsTyPats Name -> (TcKind -> TcM ()) -> ([TcTyVar] -> [TcType] -> TcKind -> TcM a) -> TcM a Source #
tcTyFamInstEqn :: FamTyConShape -> Maybe ClsInstInfo -> LTyFamInstEqn Name -> TcM CoAxBranch Source #
famTyConShape :: TyCon -> FamTyConShape 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 #