slackbuilds/haskell/haskell-retry
David Spencer 741f0d51d7
haskell/haskell-retry: Added (monadic action retry combinators).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-11-10 07:47:43 +07:00
..
README haskell/haskell-retry: Added (monadic action retry combinators). 2018-11-10 07:47:43 +07:00
doinst.sh haskell/haskell-retry: Added (monadic action retry combinators). 2018-11-10 07:47:43 +07:00
haskell-retry.SlackBuild haskell/haskell-retry: Added (monadic action retry combinators). 2018-11-10 07:47:43 +07:00
haskell-retry.info haskell/haskell-retry: Added (monadic action retry combinators). 2018-11-10 07:47:43 +07:00
slack-desc haskell/haskell-retry: Added (monadic action retry combinators). 2018-11-10 07:47:43 +07:00

README

Retry combinators for monadic actions that may fail.

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.

After uninstalling, run this command to unregister the package from
the ghc package database:   ghc-pkg recache