Safe Haskell | Safe-Infered |
---|
Documentation
type TcThetaType = ThetaTypeSource
type TcTyVarSet = TyVarSetSource
newFlexiTyVar :: Kind -> TcM TcTyVarSource
newFlexiTyVarTy :: Kind -> TcM TcTypeSource
newMetaKindVars :: Int -> TcM [TcKind]Source
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
tcInstSigTyVars :: [TyVar] -> TcM [TcTyVar]Source
tcInstType :: ([TyVar] -> TcM [TcTyVar]) -> TcType -> TcM ([TcTyVar], TcThetaType, TcType)Source
tcInstSkolTyVars, tcInstSuperSkolTyVars :: [TyVar] -> TcM [TcTyVar]Source
tcInstSkolTyVarsX, tcInstSuperSkolTyVarsX :: TvSubst -> [TyVar] -> TcM (TvSubst, [TcTyVar])Source
tcInstSkolType :: TcType -> TcM ([TcTyVar], TcThetaType, TcType)Source
tcSkolDFunType :: Type -> TcM ([TcTyVar], TcThetaType, TcType)Source
tcSuperSkolTyVars :: [TyVar] -> [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 -> [TyVar] -> ThetaType -> Class -> [TcType] -> TcM ()Source
validDerivPred :: TyVarSet -> PredType -> BoolSource
checkInstTermination :: [TcType] -> ThetaType -> [Message]Source
checkValidFamInst :: [Type] -> Type -> TcM ()Source
checkTyFamFreeness :: Type -> TcM ()Source
growPredTyVars :: TcPredType -> TyVarSet -> TyVarSetSource
growThetaTyVars :: TcThetaType -> TyVarSet -> TyVarSetSource
zonkTcTyVar :: TcTyVar -> TcM TcTypeSource
zonkTcTyVars :: [TcTyVar] -> TcM [TcType]Source
zonkSigTyVar :: TcTyVar -> TcM TcTyVarSource
zonkTcType :: TcType -> TcM TcTypeSource
zonkTcTypes :: [TcType] -> TcM [TcType]Source
zonkTcKind :: TcKind -> TcM TcKindSource