retry: Retry combinators for monadic actions that may fail

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


This package exposes combinators that can wrap arbitrary monadic actions. They run the action and potentially retry running it with some configurable delay for a configurable number of times. The purpose is to make it easier to work with IO and especially network IO actions that often experience temporary failure and warrant retrying of the original action. For example, a database query may time out for a while, in which case we should hang back for a bit and retry the query instead of simply raising an exception.

[Skip to ReadMe]


Versions0.1.0.0,,,, 0.4, 0.5, 0.5.1, 0.6, 0.7, 0.7,, 0.7.1, 0.7.2, 0.7.3, 0.7.4,,,,,,,,
Dependenciesbase (==4.*), data-default-class, exceptions (>=0.5 && <0.9), random (>=1 && <1.2), transformers (<0.5) [details]
CopyrightOzgun Ataman, Soostone Inc
AuthorOzgun Ataman
Home page
UploadedFri Nov 13 18:29:23 UTC 2015 by MichaelXavier




Maintainers' corner

For package maintainers and hackage trustees

Readme for retry-0.7

[back to package description]

README Build Status Coverage Status

retry - combinators for monadic actions that may fail


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.


Please see haddocks for documentation.




Ozgun Ataman, Soostone Inc


Contributors, please list yourself here.