Skip to content

Commit

Permalink
Merge 30b6284 into 5b722ce
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehoersten committed Dec 7, 2014
2 parents 5b722ce + 30b6284 commit e4de131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Control/Retry.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import Prelude hiding (catch)
-- One can easily define an exponential backoff policy with a limited
-- number of retries:
--
-- >> limitedBackoff = exponentialBackoff 50 <> limitedRetries 5
-- >> limitedBackoff = exponentialBackoff 50 <> limitRetries 5
--
-- Naturally, 'mempty' will retry immediately (delay 0) for an
-- unlimited number of retries, forming the identity for the 'Monoid'.
Expand Down Expand Up @@ -231,7 +231,7 @@ recoverAll set f = recovering set [h] f
-- retrying the action a number of times.
recovering :: forall m a. (MonadIO m, MonadCatch m)
=> RetryPolicy
-- ^ Just use 'def' faor default settings
-- ^ Just use 'def' for default settings
-> [(Int -> Handler m Bool)]
-- ^ Should a given exception be retried? Action will be
-- retried if this returns True.
Expand Down

0 comments on commit e4de131

Please sign in to comment.