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.

  1. bracketNoMask :: MonadException m => m a -> (a -> m ()) -> (a -> m b) -> m b

    monadology Control.Monad.Ology.General.Exception

    Like bracket, but doesn't mask asynchronous exceptions.

  2. bracketNoMask_ :: MonadException m => m () -> m () -> m --> m

    monadology Control.Monad.Ology.General.Exception

    Variant of bracketNoMask.

  3. bracket_ :: (MonadException m, MonadTunnelIO m) => m () -> m () -> m --> m

    monadology Control.Monad.Ology.General.Exception

    Variant of bracket.

  4. bracketise :: [Chunk] -> [Chunk]

    opt-env-conf OptEnvConf.Output

    No documentation available.

  5. brackets :: Doc -> Doc

    prettyprinter-compat-ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen

    No documentation available.

  6. 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]"
    

  7. brackets :: SlackText -> SlackText

    slack-web Web.Slack.Experimental.Blocks

    No documentation available.

  8. bracket' :: (IsStream t, MonadAsync m, MonadCatch m) => m b -> (b -> m c) -> (b -> m d) -> (b -> m e) -> (b -> t m a) -> t m a

    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

  9. bracket_ :: (IsStream t, MonadCatch m) => m b -> (b -> m c) -> (b -> t m a) -> t m a

    streamly 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.
    Inhibits stream fusion Pre-release

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

Page 19 of many | Previous | Next