Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. eventRetry :: ServerEvent -> Int

    wai-extra Network.Wai.EventSource.EventStream

    No documentation available.

  2. HelloRetryRequest :: HandshakeMode13

    tls Network.TLS

    Full handshake is used with hello retry request.

  3. HelloRetryRequest :: HandshakeMode13

    tls Network.TLS.QUIC

    Full handshake is used with hello retry request.

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

    postgresql-simple Database.PostgreSQL.Simple.Transaction

    withTransactionModeRetry' but with the exception type pinned to SqlError.

  5. 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.

  6. HdrRetryAfter :: HeaderName

    HTTP Network.HTTP.Headers

    No documentation available.

  7. DontRetry :: RetryAction

    retry Control.Retry

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

  8. defaultRetryStatus :: RetryStatus

    retry Control.Retry

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

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

    retry Control.Retry

    No documentation available.

  10. 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)
    

Page 17 of many | Previous | Next