Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. HelloRetryRequest :: HandshakeMode13

    tls Network.TLS

    Full handshake is used with hello retry request.

  2. HelloRetryRequest :: HandshakeMode13

    tls Network.TLS.QUIC

    Full handshake is used with hello retry request.

  3. withTransactionModeRetry :: TransactionMode -> (SqlError -> Bool) -> Connection -> IO a -> IO a

    postgresql-simple Database.PostgreSQL.Simple.Transaction

    withTransactionModeRetry' but with the exception type pinned to SqlError.

  4. withTransactionModeRetry' :: forall a e . Exception e => TransactionMode -> (e -> Bool) -> Connection -> IO a -> IO a

    postgresql-simple Database.PostgreSQL.Simple.Transaction

    Like withTransactionMode, but also takes a custom callback to determine if a transaction should be retried if an exception occurs. If the callback returns True, then the transaction will be retried. If the callback returns False, or an exception other than an e occurs then the transaction will be rolled back and the exception rethrown. This is used to implement withTransactionSerializable.

  5. HdrRetryAfter :: HeaderName

    HTTP Network.HTTP.Headers

    No documentation available.

  6. DontRetry :: RetryAction

    retry Control.Retry

    Don't retry (regardless of what the RetryPolicy says).

  7. defaultRetryStatus :: RetryStatus

    retry Control.Retry

    Initial, default retry status. Use fields or lenses to update.

  8. getRetryPolicyM :: RetryPolicyM (m :: Type -> Type) -> RetryStatus -> m (Maybe Int)

    retry Control.Retry

    No documentation available.

  9. natTransformRetryPolicy :: (forall a . () => m a -> n a) -> RetryPolicyM m -> RetryPolicyM n

    retry Control.Retry

    Applies a natural transformation to a policy to run a RetryPolicy meant for the monad m in the monad n provided a transformation from m to n is available. A common case is if you have a pure policy, RetryPolicyM Identity and want to use it to govern an IO computation you could write:

    purePolicyInIO :: RetryPolicyM Identity -> RetryPolicyM IO
    purePolicyInIO = natTransformRetryPolicy (pure . runIdentity)
    

  10. resumeRetrying :: MonadIO m => RetryStatus -> RetryPolicyM m -> (RetryStatus -> b -> m Bool) -> (RetryStatus -> m b) -> m b

    retry Control.Retry

    A variant of retrying that allows specifying the initial RetryStatus so that the retrying operation may pick up where it left off in regards to its retry policy.

Page 17 of many | Previous | Next