retry

Retry combinators for monadic actions that may fail

http://github.com/Soostone/retry

Version on this page:0.6@rev:1
LTS Haskell 22.39:0.9.3.1
Stackage Nightly 2024-10-31:0.9.3.1
Latest on Hackage:0.9.3.1

See all snapshots retry appears in

BSD-3-Clause licensed by Ozgun Ataman
Maintained by [email protected]
This version can be pinned in stack with:retry-0.6@sha256:08f3ff261b1f52787e49e0a6bb585db0b0820393715eb510ab8a937173076b42,1862

Module documentation for 0.6

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.