Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#656 closed task (fixed)

Provde a way to return values as Dynamic from the GHC API

Reported by: simonmar Owned by:
Priority: normal Milestone: 6.6
Component: Compiler Version: 6.4.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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.

Change History (4)

comment:1 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

Done, thanks to Esa.

comment:2 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:3 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple

comment:4 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.