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.
-
streamly Streamly.Internal.Data.Stream.IsStream Like bracket but can use separate cleanup actions depending on the mode of termination. bracket' 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. Pre-release
bracket_ :: (IsStream t, MonadCatch m) => m b -> (b -> m c) -> (b -> t m a) -> t m astreamly Streamly.Internal.Data.Stream.IsStream Like bracket but with following differences:
- alloc action m b runs with async exceptions enabled
- cleanup action b -> m c won't run if the stream is garbage collected after partial evaluation.
- does not require a MonadAsync constraint.
- has slightly better performance than bracket.
-
streamly Streamly.Internal.Data.Stream.Prelude Like bracket but can use 3 separate cleanup actions depending on the mode of termination:
- When the stream stops normally
- When the stream is garbage collected
- When the stream encounters an exception
-
streamly Streamly.Internal.Data.Stream.Prelude No documentation available.
brackets :: MyParser a -> MyParser atidal Sound.Tidal.Boot No documentation available.
bracketedPasteFinished :: ByteString -> Boolvty-unix Graphics.Vty.Platform.Unix.Input.Paste Does the input contain a complete bracketed paste?
bracketedPasteStarted :: ByteString -> Boolvty-unix Graphics.Vty.Platform.Unix.Input.Paste Does the input start a bracketed paste?
-
HDBC-session Database.HDBC.Session Generalized session with bracketed HDBC connection. Run a transaction on a HDBC IConnection and close the connection.
bracketOnError :: MonadUnliftIO m => m a -> (a -> m b) -> (a -> m c) -> m cclassy-prelude-yesod ClassyPrelude.Yesod Same as bracket, but only perform the cleanup if an exception is thrown.
bracketOnError_ :: MonadUnliftIO m => m a -> m b -> m c -> m cclassy-prelude-yesod ClassyPrelude.Yesod A variant of bracketOnError where the return value from the first computation is not required.