Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
data UserTypeCtxt Source
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 -> Bool Source
checkInstTermination :: [TcType] -> ThetaType -> TcM () Source
checkValidTyFamInst :: Maybe (Class, VarEnv Type) -> TyCon -> CoAxBranch -> TcM () Source
checkTyFamFreeness :: Type -> TcM () Source