Provde a way to return values as Dynamic from the GHC API
Requested by Keith Hanna: the GHC API should have a way to return the value of an expression or statement from runStmt
as a Dynamic
. This would let you inspect the returned value in the client, whereas currently the only workaround is to compile more code to inspect the value and communicate the results back via some mutable state.
For reference, hs-plugins has a similar feature.
Depends on Task #652 (closed).
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.1 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |