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.

  1. bracket_ :: forall (r :: EffectRow) a b c . Member Resource r => Sem r a -> Sem r b -> Sem r c -> Sem r c

    polysemy Polysemy.Resource

    A variant of bracket where the return value from the first computation is not required. cf. bracket and bracket_

  2. bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c

    protolude Protolude

    Like bracket, but only performs the final action if there was an exception raised by the in-between computation.

  3. bracket_ :: IO a -> IO b -> IO c -> IO c

    protolude Protolude

    A variant of bracket where the return value from the first computation is not required.

  4. brackets :: Doc -> Doc

    HTF Test.Framework.Pretty

    No documentation available.

  5. bracketCWD :: FilePath -> IO a -> IO a

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

  6. brackettmpdir :: String -> (String -> IO a) -> IO a

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

  7. brackettmpdirCWD :: String -> IO a -> IO a

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

  8. bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c

    ghc-internal GHC.Internal.Control.Exception

    Like bracket, but only performs the final action if there was an exception raised by the in-between computation.

  9. bracket_ :: IO a -> IO b -> IO c -> IO c

    ghc-internal GHC.Internal.Control.Exception

    A variant of bracket where the return value from the first computation is not required.

  10. bracketOnError :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c

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

Page 10 of many | Previous | Next