[GHC] #656: Provde a way to return values as Dynamic from the GHC API

GHC trac at galois.com
Mon Jan 16 04:51:17 EST 2006


#656: Provde a way to return values as Dynamic from the GHC API
-------------------------+--------------------------------------------------
    Reporter:  simonmar  |        Owner:             
        Type:  task      |       Status:  new        
    Priority:  normal    |    Milestone:  6.6        
   Component:  Compiler  |      Version:  6.4.1      
    Severity:  normal    |     Keywords:             
          Os:  Unknown   |   Difficulty:  Easy (1 hr)
Architecture:  Unknown   |  
-------------------------+--------------------------------------------------
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.

-- 
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/656>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list