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.
bracket_ :: IO a -> IO b -> IO c -> IO cbase 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 cbase Control.Exception.Base 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 cbase Control.Exception.Base A variant of bracket where the return value from the first computation is not required.
-
template-haskell Language.Haskell.TH.PprLib No documentation available.
bracketOnError :: (HasCallStack, MonadMask m) => m a -> (a -> m c) -> (a -> m b) -> m bexceptions Control.Monad.Catch Like bracket, but only performs the final action if an error is thrown by the in-between computation.
bracket_ :: (HasCallStack, MonadMask m) => m a -> m c -> m b -> m bexceptions Control.Monad.Catch Version of bracket without any value being passed to the second and third actions.
-
parsec Text.Parsec.Token Lexeme parser brackets p parses p enclosed in brackets ('[' and ']'), returning the value of p.
-
parsec Text.ParserCombinators.Parsec.Token Lexeme parser brackets p parses p enclosed in brackets ('[' and ']'), returning the value of p.
brackets :: Doc ann -> Doc annoptparse-applicative Options.Applicative.Help.Pretty >>> brackets "·" [·]
-
conduit Data.Conduit Bracket a conduit computation between allocation and release of a resource. Two guarantees are given about resource finalization:
- It will be prompt. The finalization will be run as early as possible.
- It is exception safe. Due to usage of resourcet, the finalization will be run in the event of any exceptions.