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.
finally :: (MonadAsync m, MonadCatch m) => (a -> m c) -> Unfold m a b -> Unfold m a bstreamly 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-releasefinally :: (IsStream t, MonadAsync m, MonadCatch m) => m b -> t m a -> t m astreamly 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
finally :: MonadUnliftIO m => m a -> m b -> m aclassy-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.
finally :: forall (r :: EffectRow) a b . Member Resource r => Sem r a -> Sem r b -> Sem r aincipit-core IncipitCore Like bracket, but for the simple case of one computation to run afterward.
-
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.
-
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.
finallyClose :: WebDriver wd => wd a -> wd awebdriver Test.WebDriver A finalizer ensuring that the session is always closed at the end of the given WD action, regardless of any exceptions.
finallyClose :: WebDriver wd => wd a -> wd awebdriver Test.WebDriver.Monad A finalizer ensuring that the session is always closed at the end of the given WD action, regardless of any exceptions.
finally_sh :: Sh a -> Sh b -> Sh ashelly Shelly finally_sh :: Sh a -> Sh b -> Sh ashelly Shelly.Lifted Deprecated: use Control.Exception.Lifted.finally instead