Safe Haskell | None |
---|
Documentation
type TcThetaType = ThetaTypeSource
type TcTyVarSet = TyVarSetSource
newFlexiTyVar :: Kind -> TcM TcTyVarSource
newFlexiTyVarTy :: Kind -> TcM TcTypeSource
newMetaKindVars :: Int -> TcM [TcKind]Source
mkKindSigVar :: Name -> KindVarSource
mkTcTyVarName :: Unique -> FastString -> NameSource
writeMetaTyVar :: TcTyVar -> TcType -> TcM ()Source
writeMetaTyVarRef :: TcTyVar -> TcRef MetaDetails -> TcType -> TcM ()Source
isFilledMetaTyVar :: TyVar -> TcM BoolSource
isFlexiMetaTyVar :: TyVar -> TcM BoolSource
newEvVar :: TcPredType -> TcM EvVarSource
newEvVars :: TcThetaType -> TcM [EvVar]Source
newWantedEvVars :: TcThetaType -> TcM [EvVar]Source
addTcEvBind :: EvBindsVar -> EvVar -> EvTerm -> TcM ()Source
tcInstType :: ([TyVar] -> TcM (TvSubst, [TcTyVar])) -> TcType -> TcM ([TcTyVar], TcThetaType, TcType)Source
tcInstSuperSkolTyVars :: [TyVar] -> TcM [TcTyVar]Source
tcInstSkolType :: TcType -> TcM ([TcTyVar], TcThetaType, TcType)Source
tcSkolDFunType :: Type -> TcM ([TcTyVar], TcThetaType, TcType)Source
tcSuperSkolTyVars :: [TyVar] -> (TvSubst, [TcTyVar])Source
data UserTypeCtxt Source
checkValidType :: UserTypeCtxt -> Type -> TcM ()Source
checkValidMonoType :: Type -> TcM ()Source
checkValidTheta :: UserTypeCtxt -> ThetaType -> TcM ()Source
checkValidInstHead :: UserTypeCtxt -> Class -> [Type] -> TcM ()Source
checkValidInstance :: UserTypeCtxt -> LHsType Name -> Type -> TcM ([TyVar], ThetaType, Class, [Type])Source
validDerivPred :: TyVarSet -> PredType -> BoolSource
checkInstTermination :: [TcType] -> ThetaType -> TcM ()Source
checkValidFamInst :: [Type] -> Type -> TcM ()Source
checkTyFamFreeness :: Type -> TcM ()Source
growThetaTyVars :: TcThetaType -> TyVarSet -> TyVarSetSource
quantifyPred :: TyVarSet -> PredType -> BoolSource
zonkTcTyVar :: TcTyVar -> TcM TcTypeSource
zonkTcTyVars :: [TcTyVar] -> TcM [TcType]Source
zonkQuantifiedTyVars :: [TcTyVar] -> TcM [TcTyVar]Source
zonkTcType :: TcType -> TcM TcTypeSource
zonkTcTypes :: [TcType] -> TcM [TcType]Source
zonkTcKind :: TcKind -> TcM TcKindSource