| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
GHC.Core.Opt.Simplify
Synopsis
- data SimplifyExprOpts = SimplifyExprOpts {
- se_fam_inst :: ![FamInst]
 - se_mode :: !SimplMode
 - se_top_env_cfg :: !TopEnvConfig
 
 - data SimplifyOpts = SimplifyOpts {}
 - simplifyExpr :: Logger -> ExternalUnitCache -> SimplifyExprOpts -> CoreExpr -> IO CoreExpr
 - simplifyPgm :: Logger -> UnitEnv -> NamePprCtx -> SimplifyOpts -> ModGuts -> IO (SimplCount, ModGuts)
 
Documentation
data SimplifyExprOpts Source #
Configuration record for simplifyExpr.
 The values of this datatype are only driven by the demands of that function.
Constructors
| SimplifyExprOpts | |
Fields 
  | |
data SimplifyOpts Source #
Configuration record for simplifyPgm.
 The values of this datatype are only driven by the demands of that function.
Constructors
| SimplifyOpts | |
Fields 
  | |
simplifyExpr :: Logger -> ExternalUnitCache -> SimplifyExprOpts -> CoreExpr -> IO CoreExpr Source #
simplifyPgm :: Logger -> UnitEnv -> NamePprCtx -> SimplifyOpts -> ModGuts -> IO (SimplCount, ModGuts) Source #