Opened 11 years ago

Closed 10 years ago

Last modified 7 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: 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 10 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed

Done, thanks to Esa.

comment:2 Changed 8 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:3 Changed 8 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple

comment:4 Changed 7 years ago by simonmar

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