ghc-7.6.3: The GHC API

Safe Haskell | None

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

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)

hasEqualities :: [EvVar] -> Bool

unitImplication :: Implication -> Bag Implication

tyVarsOfWC :: WantedConstraints -> TyVarSet

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

tyVarsOfEvVar :: EvVar -> TyVarSet

tyVarsOfEvVars :: [EvVar] -> TyVarSet

tyVarsOfImplication :: Implication -> TyVarSet

tyVarsOfCt :: Ct -> TcTyVarSet

tyVarsOfCts :: Cts -> TcTyVarSet

tyVarsOfCDict :: Ct -> TcTyVarSet

tyVarsOfCDicts :: Cts -> TcTyVarSet

tidyEvVar :: TidyEnv -> EvVar -> EvVar

tidyCt :: TidyEnv -> Ct -> Ct

tidyGivenLoc :: TidyEnv -> GivenLoc -> GivenLoc

substEvVar :: TvSubst -> EvVar -> EvVar

substImplication :: TvSubst -> Implication -> Implication

substCt :: TvSubst -> Ct -> Ct