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.
bracketNoMask :: MonadException m => m a -> (a -> m ()) -> (a -> m b) -> m bmonadology Control.Monad.Ology.General.Exception Like bracket, but doesn't mask asynchronous exceptions.
bracketNoMask_ :: MonadException m => m () -> m () -> m --> mmonadology Control.Monad.Ology.General.Exception Variant of bracketNoMask.
bracket_ :: (MonadException m, MonadTunnelIO m) => m () -> m () -> m --> mmonadology Control.Monad.Ology.General.Exception Variant of bracket.
bracketise :: [Chunk] -> [Chunk]opt-env-conf OptEnvConf.Output No documentation available.
-
prettyprinter-compat-ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen No documentation available.
bracketList :: Grammar Position (List :- t) (List :- t') -> Grammar Position (Sexp :- t) t'sexp-grammar Language.SexpGrammar Bracket list grammar. Runs a specified grammar on a sequence of S-exps in a bracketed list.
>>> let grammar = bracketList (rest int) >>> encodeWith grammar [2, 3, 5, 7, 11, 13] Right "[2 3 5 7 11 13]"
brackets :: SlackText -> SlackTextslack-web Web.Slack.Experimental.Blocks No documentation available.
-
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