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. actionFinally :: Action a -> IO b -> Action a

    shake Development.Shake

    After an Action, perform some IO, even if there is an exception. This function is implemented using actionBracket.

  2. forkFinally :: IO a -> (Either SomeException a -> IO ()) -> IO ThreadId

    context Context.Concurrent

    See forkFinally.

  3. jTryCatchFinally :: (Ident -> JStgStat) -> (Ident -> JStgStat) -> (Ident -> JStgStat) -> JSM JStgStat

    ghc-lib-parser GHC.JS.Make

    As with "jForIn" but creating a "for each in" statement.

  4. manyFinally :: PolyParse p => p a -> p z -> p [a]

    polyparse Text.ParserCombinators.Poly.Base

    manyFinally e t parses a possibly-empty sequence of e's, terminated by a t. The final t is discarded. Any parse failures could be due either to a badly-formed terminator or a badly-formed element, so it raises both possible errors.

  5. manyFinally' :: (PolyParse p, Show a) => p a -> p z -> p [a]

    polyparse Text.ParserCombinators.Poly.Base

    manyFinally' is like manyFinally, except when the terminator parser overlaps with the element parser. In manyFinally e t, the parser t is tried only when parser e fails, whereas in manyFinally' e t, the parser t is always tried first, then parser e only if the terminator is not found. For instance, manyFinally (accept "01") (accept "0") on input "0101010" returns ["01","01","01"], whereas manyFinally' with the same arguments and input returns [].

  6. manyFinally :: Parser s t a -> Parser s t z -> Parser s t [a]

    polyparse Text.ParserCombinators.Poly.StateLazy

    No documentation available.

  7. manyFinally' :: (PolyParse p, Show a) => p a -> p z -> p [a]

    polyparse Text.ParserCombinators.Poly.StateLazy

    manyFinally' is like manyFinally, except when the terminator parser overlaps with the element parser. In manyFinally e t, the parser t is tried only when parser e fails, whereas in manyFinally' e t, the parser t is always tried first, then parser e only if the terminator is not found. For instance, manyFinally (accept "01") (accept "0") on input "0101010" returns ["01","01","01"], whereas manyFinally' with the same arguments and input returns [].

  8. forkManagedFinally :: ThreadManager -> String -> IO () -> IO () -> IO ()

    time-manager System.ThreadManager

    Fork a managed thread with a cleanup function.

  9. forkManagedTimeoutFinally :: ThreadManager -> String -> (Handle -> IO ()) -> IO () -> IO ()

    time-manager System.ThreadManager

    Fork a managed thread with a handle created by a timeout manager and with a cleanup function.

  10. forkFinally :: forall (es :: [Effect]) a . (HasCallStack, Concurrent :> es) => Eff es a -> (Either SomeException a -> Eff es ()) -> Eff es ThreadId

    effectful Effectful.Concurrent

    Lifted forkFinally.

Page 7 of many | Previous | Next