Documentation
type InCoercion = CoercionSource
type OutCoercion = CoercionSource
setMode :: SimplifierMode -> SimplEnv -> SimplEnvSource
updMode :: (SimplifierMode -> SimplifierMode) -> SimplEnv -> SimplEnvSource
type SwitchChecker = SimplifierSwitch -> SwitchResultSource
getSimplIntSwitch :: SwitchChecker -> (Int -> SimplifierSwitch) -> IntSource
intSwitchSet :: (switch -> SwitchResult) -> (Int -> switch) -> Maybe IntSource
switchIsOn :: (switch -> SwitchResult) -> switch -> BoolSource
SimplEnv | |
|
pprSimplEnv :: SimplEnv -> SDocSource
setSubstEnv :: SimplEnv -> TvSubstEnv -> SimplIdSubst -> SimplEnvSource
setInScope :: SimplEnv -> SimplEnv -> SimplEnvSource
setInScopeSet :: SimplEnv -> InScopeSet -> SimplEnvSource
modifyInScope :: SimplEnv -> CoreBndr -> SimplEnvSource
addNewInScopeIds :: SimplEnv -> [CoreBndr] -> SimplEnvSource
inGentleMode :: SimplEnv -> BoolSource
lookupRecBndr :: SimplEnv -> InId -> OutIdSource
substTyVar :: SimplEnv -> TyVar -> TypeSource
getTvSubst :: SimplEnv -> TvSubstSource
mkCoreSubst :: SDoc -> SimplEnv -> SubstSource
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