Hoogle Search
Within LTS Haskell 22.18 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
finally :: MonadSafe m => m a -> Base m b -> m apipes-safe Pipes.Safe Analogous to finally from Control.Monad.Catch, except this also protects against premature termination
finally :: Member Resource r => Sem r a -> Sem r b -> Sem r apolysemy Polysemy.Resource Like bracket, but for the simple case of one computation to run afterward.
finally :: IO a -> IO b -> IO aprotolude Protolude A specialised variant of bracket with just a computation to run afterward.
finally :: MonadBracket m => m a -> m b -> m afoundation Foundation.Exception No documentation available.
finally :: IO a -> IO b -> IO abase-prelude BasePrelude A specialised variant of bracket with just a computation to run afterward.
finally :: MonadException m => m a -> m b -> m aexception-transformers Control.Monad.Exception Run a computation and always perform a second, final computation even if an exception is raised. If a short-circuiting monad transformer such as ErrorT or MaybeT is used to transform a MonadException monad, then the implementation of finally for the transformed monad must guarantee that the final action is also always performed when any short-circuiting occurs.
finally :: IO a -> IO b -> IO arebase Rebase.Prelude A specialised variant of bracket with just a computation to run afterward.
finally :: MonadBench m => m b -> m c -> m bAgda Agda.Utils.Benchmark We need to be able to terminate benchmarking in case of an exception.
finally :: MonadError e m => m a -> m () -> m aAgda Agda.Utils.Monad Finally for the Error class. Errors in the finally part take precedence over prior errors.
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.