[GHC] #4343: Add throwSTM and generalize catchSTM

GHC cvs-ghc at haskell.org
Fri Oct 22 19:48:03 EDT 2010


#4343: Add throwSTM and generalize catchSTM
--------------------------------+-------------------------------------------
  Reporter:  basvandijk         |          Owner:                                                           
      Type:  proposal           |         Status:  closed                                                   
  Priority:  normal             |      Milestone:                                                           
 Component:  libraries (other)  |        Version:  7.1                                                      
Resolution:  fixed              |       Keywords:  stm, exception, throw, throwIO, throwSTM, catch, catchSTM
  Testcase:                     |      Blockedby:                                                           
Difficulty:                     |             Os:  Unknown/Multiple                                         
  Blocking:                     |   Architecture:  Unknown/Multiple                                         
   Failure:  None/Unknown       |  
--------------------------------+-------------------------------------------

Comment(by basvandijk):

 Replying to [comment:3 simonmar]:
 > Applied, thanks!  I've also bumped the version of the stm package to
 2.2.0.0 since `catchSTM`'s type has changed, and I'll upload a new version
 to Hackage.

 Thanks.

 The new stm
 [http://hackage.haskell.org/packages/archive/stm/2.2.0.0/logs/failure/ghc-6.12
 doesn't build] however because we need to depend on the new base-4.3 which
 will export `throwSTM` from `GHC.Conc`. Sorry for not putting this in the
 patch.

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


More information about the Glasgow-haskell-bugs mailing list