ANN: STM-IO-Hooks-0.0.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ANN: STM-IO-Hooks-0.0.1

Peter Robinson-10
This library provides an STM monad with commit and retry IO hooks. A
retry-action is run (once) in a separate thread if the transaction retries,
while commit-actions are executed iff the transaction commits. The code is
based on the AdvSTM Monad [1] by Chris Kuklewicz, but in addition also
ensures some atomicity guarantees for commit-actions, see documentation
for details.

Cheers,
Peter

[1] http://www.haskell.org/haskellwiki/New_monads/MonadAdvSTM
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe