
#10841: Run handler on STM retry -------------------------------------+------------------------------------- Reporter: shlevy | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries | Version: 7.10.2 (other) | Resolution: | Keywords: stm Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by shlevy): A few more thoughts looking back on this a few days later: a) It might be nice to have some structured information from the runtime explaining why a transaction needed to retry, and b) perhaps the only primitive needed is just a "try once" that can be looped as-desired by the user. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10841#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler