Safe Haskell | None |
---|---|
Language | Haskell98 |
SimplEnv
Documentation
type InCoercion = CoercionSource
type OutCoercion = CoercionSource
setMode :: SimplifierMode -> SimplEnv -> SimplEnvSource
updMode :: (SimplifierMode -> SimplifierMode) -> SimplEnv -> SimplEnvSource
Constructors
SimplEnv | |
Fields
|
pprSimplEnv :: SimplEnv -> SDocSource
setSubstEnv :: SimplEnv -> TvSubstEnv -> CvSubstEnv -> SimplIdSubst -> SimplEnvSource
setInScope :: SimplEnv -> SimplEnv -> SimplEnvSource
setInScopeSet :: SimplEnv -> InScopeSet -> SimplEnvSource
modifyInScope :: SimplEnv -> CoreBndr -> SimplEnvSource
addNewInScopeIds :: SimplEnv -> [CoreBndr] -> SimplEnvSource
Constructors
DoneEx OutExpr | |
DoneId OutId | |
ContEx TvSubstEnv CvSubstEnv SimplIdSubst InExpr |
Instances
lookupRecBndr :: SimplEnv -> InId -> OutIdSource
substTyVar :: SimplEnv -> TyVar -> TypeSource
getTvSubst :: SimplEnv -> TvSubstSource
getCvSubst :: SimplEnv -> CvSubstSource
substCoVar :: SimplEnv -> CoVar -> CoercionSource
mkCoreSubst :: SDoc -> SimplEnv -> SubstSource
Instances
isEmptyFloats :: SimplEnv -> BoolSource
extendFloats :: SimplEnv -> OutBind -> SimplEnvSource
wrapFloats :: SimplEnv -> OutExpr -> OutExprSource
floatBinds :: Floats -> [OutBind]Source
addRecFloats :: SimplEnv -> SimplEnv -> SimplEnvSource
doFloatFromRhs :: TopLevelFlag -> RecFlag -> Bool -> OutExpr -> SimplEnv -> BoolSource
getFloatBinds :: SimplEnv -> [CoreBind]Source