Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
data UserTypeCtxtSource
checkValidType :: UserTypeCtxt -> Type -> TcM ()Source
checkValidMonoType :: Type -> TcM ()Source
checkValidTheta :: UserTypeCtxt -> ThetaType -> TcM ()Source
checkValidInstance :: UserTypeCtxt -> LHsType Name -> Type -> TcM ([TyVar], ThetaType, Class, [Type])Source
validDerivPred :: TyVarSet -> PredType -> BoolSource
checkInstTermination :: [TcType] -> ThetaType -> TcM ()Source
checkValidTyFamInst :: Maybe (Class, VarEnv Type) -> TyCon -> CoAxBranch -> TcM ()Source
checkTyFamFreeness :: Type -> TcM ()Source