diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-10-26 13:34:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:47:43 +0700 |
commit | 741f0d51d72482f055458b41e4ac64ba23320dce (patch) | |
tree | 5406184cb60a109b3d783000d6d4832e27ce0955 /haskell/haskell-retry/README | |
parent | 933e3c15f15b3b0d6eb9423ac0863f82b62a5d8c (diff) | |
download | slackbuilds-741f0d51d72482f055458b41e4ac64ba23320dce.tar.xz |
haskell/haskell-retry: Added (monadic action retry combinators).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-retry/README')
-rw-r--r-- | haskell/haskell-retry/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/haskell/haskell-retry/README b/haskell/haskell-retry/README new file mode 100644 index 000000000000..8e0b06bd2ace --- /dev/null +++ b/haskell/haskell-retry/README @@ -0,0 +1,13 @@ +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 |