Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data CorePrepConfig = CorePrepConfig {
- cp_catchNonexhaustiveCases :: !Bool
- cp_convertNumLit :: !(LitNumType -> Integer -> Maybe CoreExpr)
- cp_arityOpts :: !(Maybe ArityOpts)
- data CorePrepPgmConfig = CorePrepPgmConfig {}
- corePrepPgm :: Logger -> CorePrepConfig -> CorePrepPgmConfig -> Module -> ModLocation -> CoreProgram -> [TyCon] -> IO CoreProgram
- corePrepExpr :: Logger -> CorePrepConfig -> CoreExpr -> IO CoreExpr
- mkConvertNumLiteral :: Platform -> HomeUnit -> (Name -> IO TyThing) -> IO (LitNumType -> Integer -> Maybe CoreExpr)
Documentation
data CorePrepConfig Source #
CorePrepConfig | |
|
data CorePrepPgmConfig Source #
corePrepPgm :: Logger -> CorePrepConfig -> CorePrepPgmConfig -> Module -> ModLocation -> CoreProgram -> [TyCon] -> IO CoreProgram Source #
corePrepExpr :: Logger -> CorePrepConfig -> CoreExpr -> IO CoreExpr Source #