CorePrep

ghc-8.8.1: The GHC API

Safe Haskell | None
Language | Haskell2010

CorePrep

# Documentation

corePrepPgm :: HscEnv -> Module -> ModLocation -> CoreProgram -> [TyCon] -> IO (CoreProgram, Set CostCentre) Source #

corePrepExpr :: DynFlags -> HscEnv -> CoreExpr -> IO CoreExpr Source #

cvtLitInteger :: DynFlags -> Id -> Maybe DataCon -> Integer -> CoreExpr Source #

cvtLitNatural :: DynFlags -> Id -> Maybe DataCon -> Integer -> CoreExpr Source #

lookupMkIntegerName :: DynFlags -> HscEnv -> IO Id Source #

lookupIntegerSDataConName :: DynFlags -> HscEnv -> IO (Maybe DataCon) Source #

lookupMkNaturalName :: DynFlags -> HscEnv -> IO Id Source #

lookupNaturalSDataConName :: DynFlags -> HscEnv -> IO (Maybe DataCon) Source #