Add dynCompileCoreExpr :: GhcMonad m => Bool -> Expr CoreBind -> m Dynamic to ghc-api
The above function would behave much like dynCompileExpr, but skipping the front end. This is extremely useful for tools that are able to produce core code easily themselves from internal data structures. The Bool would indicate (as with compileCoreModule) whether to invoke the simplifier.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.2 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHC API |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |