Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. finally :: (MonadAsync m, MonadCatch m) => (a -> m c) -> Unfold m a b -> Unfold m a b

    streamly Streamly.Internal.Data.Unfold.Prelude

    Unfold the input a using Unfold m a b, run an action on a whenever the unfold stops normally, aborts due to an exception or if it is garbage collected after a partial lazy evaluation. The semantics of the action a -> m c are similar to the cleanup action semantics in bracket.

    finally release = bracket return release
    
    See also finally_ Inhibits stream fusion Pre-release

  2. finally :: (IsStream t, MonadAsync m, MonadCatch m) => m b -> t m a -> t m a

    streamly Streamly.Prelude

    Run the action m b whenever the stream t m a stops normally, aborts due to an exception or if it is garbage collected after a partial lazy evaluation. The semantics of running the action m b are similar to the cleanup action semantics described in bracket. See also finally_ Inhibits stream fusion

  3. finally :: MonadUnliftIO m => m a -> m b -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Perform thing, guaranteeing that after will run after, even if an exception occurs. Same interruptible vs uninterrupible points apply as with bracket. See base's finally for more information.

  4. finally :: forall (r :: EffectRow) a b . Member Resource r => Sem r a -> Sem r b -> Sem r a

    incipit-core IncipitCore

    Like bracket, but for the simple case of one computation to run afterward.

  5. finallyE :: forall (m :: Type -> Type) e a . Monad m => ExceptT e m a -> ExceptT e m () -> ExceptT e m a

    transformers Control.Monad.Trans.Except

    finallyE a b executes computation a followed by computation b, even if a exits early by throwing an exception. In the latter case, the exception is re-thrown after b has been executed.

  6. finallyE :: forall (m :: Type -> Type) e a . Monad m => ExceptT e m a -> ExceptT e m () -> ExceptT e m a

    hasql Hasql.TestingKit.Preludes.Base

    finallyE a b executes computation a followed by computation b, even if a exits early by throwing an exception. In the latter case, the exception is re-thrown after b has been executed.

  7. finallyClose :: WebDriver wd => wd a -> wd a

    webdriver Test.WebDriver

    A finalizer ensuring that the session is always closed at the end of the given WD action, regardless of any exceptions.

  8. finallyClose :: WebDriver wd => wd a -> wd a

    webdriver Test.WebDriver.Monad

    A finalizer ensuring that the session is always closed at the end of the given WD action, regardless of any exceptions.

  9. finally_sh :: Sh a -> Sh b -> Sh a

    shelly Shelly

    Same as a normal finally but specialized for the Sh monad.

  10. finally_sh :: Sh a -> Sh b -> Sh a

    shelly Shelly.Lifted

    Deprecated: use Control.Exception.Lifted.finally instead

Page 4 of many | Previous | Next