Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
tcConDecls :: NewOrData -> TyCon -> ([TyVar], [TyBinder], Type) -> [LConDecl Name] -> TcM [DataCon] Source #
checkValidTyCon :: TyCon -> TcM () Source #
tcFamTyPats :: FamTyConShape -> Maybe ClsInfo -> HsTyPats Name -> (TcKind -> TcM ()) -> ([TyVar] -> [TcType] -> Kind -> TcM a) -> TcM a Source #
tcTyFamInstEqn :: FamTyConShape -> Maybe ClsInfo -> 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 #