#1381: Add terminateStmt to "GHC as a library"
-------------------------------+--------------------------------------------
  Reporter:  guest             |          Owner:                  
      Type:  feature request   |         Status:  closed          
  Priority:  normal            |      Milestone:  7.8.1           
 Component:  GHC API           |        Version:  6.6.1           
Resolution:  fixed             |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  _|_ => 7.8.1


Comment:

 I believe the above patch fixes this ticket, because you can now just
 throw an exception to the thread that calls `runStmt` and the right thing
 will happen: `runStmt` will return with `RunException e` where `e` is the
 exception you threw.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1381#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to