[Haskell-cafe] ANN: STM-IO-Hooks-0.0.1

Peter Robinson thaldyron at gmail.com
Thu Jan 22 15:49:24 EST 2009

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.


[1] http://www.haskell.org/haskellwiki/New_monads/MonadAdvSTM

More information about the Haskell-Cafe mailing list