Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
HelloRetryRequest :: HandshakeMode13tls Network.TLS Full handshake is used with hello retry request.
HelloRetryRequest :: HandshakeMode13tls Network.TLS.QUIC Full handshake is used with hello retry request.
withTransactionModeRetry :: TransactionMode -> (SqlError -> Bool) -> Connection -> IO a -> IO apostgresql-simple Database.PostgreSQL.Simple.Transaction withTransactionModeRetry' but with the exception type pinned to SqlError.
-
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.
-
HTTP Network.HTTP.Headers No documentation available.
-
retry Control.Retry Don't retry (regardless of what the RetryPolicy says).
defaultRetryStatus :: RetryStatusretry Control.Retry Initial, default retry status. Use fields or lenses to update.
getRetryPolicyM :: RetryPolicyM (m :: Type -> Type) -> RetryStatus -> m (Maybe Int)retry Control.Retry No documentation available.
natTransformRetryPolicy :: (forall a . () => m a -> n a) -> RetryPolicyM m -> RetryPolicyM nretry 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)
-
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.