killy971 / retry

Retry combinators for monadic actions that may fail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README Build Status Coverage Status

retry - combinators for monadic actions that may fail

About

Monadic action combinators that add delayed-retry functionality, potentially with exponential-backoff, to arbitrary actions.

The main purpose of this package is to make it easy to work reliably with IO and similar actions that often fail. Common examples are database queries and large file uploads.

Documentation

Please see haddocks for documentation.

Changes

0.5

  • Mitsutoshi's backoff work inspired a complete redo of the RetryPolicy interface, replacing it with a monoidal RetryPolicy. The result is a much thinner API that actually provides much more power to the end user.
  • Now using microseconds in all premade policies. PLEASE TAKE CARE WHEN UPGRADING. It was a bad idea to use miliseconds and deviate from norms in the first place.

0.4

  • Transitioned to using Edward Kmett's exceptions package instead of monad-control. Use 0.3 series if you still need monad-control support.

0.3

Thanks to John Wiegley and Michael Snoyman for their contributions:

  • Now using monad-control instead of MonadCatchIO, which is widely agreed to be broken.
  • Now using transformers instead of mtl, which was a broader than needed dependency.

Author

Ozgun Ataman, Soostone Inc

Contributors

Contributors, please list yourself here.

  • Mitsutoshi Aoe (@maoe)
  • John Wiegley
  • Michael Snoyman

About

Retry combinators for monadic actions that may fail

License:Other


Languages

Language:Haskell 100.0%