Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. bracket3 :: (MonadAsync m, MonadCatch m) => m b -> (b -> m c) -> (b -> m d) -> (b -> m e) -> (b -> Stream m a) -> Stream m a

    streamly Streamly.Internal.Data.Stream.Prelude

    Like bracket but can use 3 separate cleanup actions depending on the mode of termination:

    1. When the stream stops normally
    2. When the stream is garbage collected
    3. When the stream encounters an exception
    bracket3 before onStop onGC onException action runs action using the result of before. If the stream stops, onStop action is executed, if the stream is abandoned onGC is executed, if the stream encounters an exception onException is executed. The exception is not caught, it is rethrown. Pre-release

  2. bracket3D :: (MonadAsync m, MonadCatch m) => m b -> (b -> m c) -> (b -> m d) -> (b -> m e) -> (b -> Stream m a) -> Stream m a

    streamly Streamly.Internal.Data.Stream.Prelude

    No documentation available.

  3. brackets :: MyParser a -> MyParser a

    tidal Sound.Tidal.Boot

    No documentation available.

  4. bracketedPasteFinished :: ByteString -> Bool

    vty-unix Graphics.Vty.Platform.Unix.Input.Paste

    Does the input contain a complete bracketed paste?

  5. bracketedPasteStarted :: ByteString -> Bool

    vty-unix Graphics.Vty.Platform.Unix.Input.Paste

    Does the input start a bracketed paste?

  6. bracketConnection :: (Monad m, IConnection conn) => (forall c . () => m c -> (c -> m ()) -> (c -> m a) -> m a) -> (forall b . () => IO b -> m b) -> IO conn -> (conn -> m a) -> m a

    HDBC-session Database.HDBC.Session

    Generalized session with bracketed HDBC connection. Run a transaction on a HDBC IConnection and close the connection.

  7. bracketOnError :: MonadUnliftIO m => m a -> (a -> m b) -> (a -> m c) -> m c

    classy-prelude-yesod ClassyPrelude.Yesod

    Same as bracket, but only perform the cleanup if an exception is thrown.

  8. bracketOnError_ :: MonadUnliftIO m => m a -> m b -> m c -> m c

    classy-prelude-yesod ClassyPrelude.Yesod

    A variant of bracketOnError where the return value from the first computation is not required.

  9. bracketP :: forall (m :: Type -> Type) a i o r . MonadResource m => IO a -> (a -> IO ()) -> (a -> ConduitT i o m r) -> ConduitT i o m r

    classy-prelude-yesod ClassyPrelude.Yesod

    Bracket a conduit computation between allocation and release of a resource. Two guarantees are given about resource finalization:

    1. It will be prompt. The finalization will be run as early as possible.
    2. It is exception safe. Due to usage of resourcet, the finalization will be run in the event of any exceptions.
    Since 0.5.0

  10. bracket_ :: MonadUnliftIO m => m a -> m b -> m c -> m c

    classy-prelude-yesod ClassyPrelude.Yesod

    Same as bracket, but does not pass the acquired resource to cleanup and use functions. For more information, see base's bracket_.

Page 20 of many | Previous | Next