ghc-7.8.4: The GHC API

Safe Haskell | None
Language | Haskell98

Inst

# Documentation

deeplySkolemise :: TcSigmaType -> TcM (HsWrapper, [TyVar], [EvVar], TcRhoType)

deeplyInstantiate :: CtOrigin -> TcSigmaType -> TcM (HsWrapper, TcRhoType)

instCall :: CtOrigin -> [TcType] -> TcThetaType -> TcM HsWrapper

instStupidTheta :: CtOrigin -> TcThetaType -> TcM ()

emitWanted :: CtOrigin -> TcPredType -> TcM EvVar

emitWanteds :: CtOrigin -> TcThetaType -> TcM [EvVar]

newOverloadedLit :: CtOrigin -> HsOverLit Name -> TcRhoType -> TcM (HsOverLit TcId)

mkOverLit :: OverLitVal -> TcM HsLit

tcGetInsts :: TcM [ClsInst]

tcGetInstEnvs :: TcM (InstEnv, InstEnv)

getOverlapFlag :: TcM OverlapFlag

tcExtendLocalInstEnv :: [ClsInst] -> TcM a -> TcM a

instCallConstraints :: CtOrigin -> TcThetaType -> TcM HsWrapper

newMethodFromName :: CtOrigin -> Name -> TcRhoType -> TcM (HsExpr TcId)

tcSyntaxName :: CtOrigin -> TcType -> (Name, HsExpr Name) -> TcM (Name, HsExpr TcId)

tyVarsOfWC :: WantedConstraints -> TyVarSet

tyVarsOfBag :: (a -> TyVarSet) -> Bag a -> TyVarSet

tyVarsOfCt :: Ct -> TcTyVarSet

tyVarsOfCts :: Cts -> TcTyVarSet

tidyEvVar :: TidyEnv -> EvVar -> EvVar

tidyCt :: TidyEnv -> Ct -> Ct

tidySkolemInfo :: TidyEnv -> SkolemInfo -> (TidyEnv, SkolemInfo)