retry

Retry combinators for monadic actions that may fail http://github.com/Soostone/retry

Version on this page:[email protected]:1
LTS Haskell 15.14:0.8.1.2
Stackage Nightly 2020-05-31:0.8.1.2
Latest on Hackage:0.8.1.2

See all snapshots retry appears in

BSD-3-Clause licensed by Ozgun Ataman
Maintained by [email protected]

Module documentation for 0.6

This version can be pinned in stack with:[email protected]:08f3ff261b1f52787e49e0a6bb585db0b0820393715eb510ab8a937173076b42,1862

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.