Safe Haskell | None |
---|---|
Language | Haskell2010 |
Haskell Translation Extracts SSTG from Haskell source.
- mkCompileClosure :: FilePath -> FilePath -> IO ([(ModSummary, ModGuts)], DynFlags, HscEnv)
- mkTargetBindings :: FilePath -> FilePath -> IO [Binding]
- mkIOStr :: Outputable a => a -> IO String
Documentation
mkCompileClosure :: FilePath -> FilePath -> IO ([(ModSummary, ModGuts)], DynFlags, HscEnv) Source #
Make Compilation Closure Captures a snapshot of the DynFlags and HscEnv in addition to the ModGuts in the ModuleGraph. This allows compilation to be, intheory, more portable across different applications, since ModGuts is a crucial intermediary for compilation in general.