Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
polysemy Polysemy.Resource A variant of bracket where the return value from the first computation is not required. cf. bracket and bracket_
bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO cprotolude Protolude Like bracket, but only performs the final action if there was an exception raised by the in-between computation.
bracket_ :: IO a -> IO b -> IO c -> IO cprotolude Protolude A variant of bracket where the return value from the first computation is not required.
-
HTF Test.Framework.Pretty No documentation available.
bracketCWD :: FilePath -> IO a -> IO aMissingH System.Path Changes the current working directory to the given path, executes the given I/O action, then changes back to the original directory, even if the I/O action raised an exception.
brackettmpdir :: String -> (String -> IO a) -> IO aMissingH System.Path Creates a temporary directory for your use via mktmpdir, runs the specified action (passing in the directory name), then removes the directory and all its contents when the action completes (or raises an exception.
brackettmpdirCWD :: String -> IO a -> IO aMissingH System.Path Runs the given I/O action with the CWD set to the given tmp dir, removing the tmp dir and changing CWD back afterwards, even if there was an exception.
bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO cghc-internal GHC.Internal.Control.Exception Like bracket, but only performs the final action if there was an exception raised by the in-between computation.
bracket_ :: IO a -> IO b -> IO c -> IO cghc-internal GHC.Internal.Control.Exception A variant of bracket where the return value from the first computation is not required.
bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO cghc-internal GHC.Internal.Control.Exception.Base Like bracket, but only performs the final action if there was an exception raised by the in-between computation.