Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readChanOnException :: UnagiPrim a => OutChan a -> (IO a -> IO ()) -> IO a

    unagi-chan Control.Concurrent.Chan.Unagi.Unboxed

    Like readChan but allows recovery of the queue element which would have been read, in the case that an async exception is raised during the read. To be precise exceptions are raised, and the handler run, only when readChanOnException is blocking. The second argument is a handler that takes a blocking IO action returning the element, and performs some recovery action. When the handler is called, the passed IO a is the only way to access the element.

  2. module Control.Exception.ChainedException

    Exception that keeps the stack of error locations.

  3. data ChainedException

    melf Control.Exception.ChainedException

    Exception that keeps track of error locations

  4. ChainedException :: String -> Loc -> ChainedExceptionNext -> ChainedException

    melf Control.Exception.ChainedException

    No documentation available.

  5. data ChainedExceptionNext

    melf Control.Exception.ChainedException

    Structure to organize the stack of exceptions with locations

  6. exnOnException :: forall e m a . Monad m => Exn m e -> m a -> m () -> m a

    monadology Control.Monad.Ology.Data.Exn

    No documentation available.

  7. class Monad m => MonadException (m :: Type -> Type)

    monadology Control.Monad.Ology.General.Exception

    Pretty much every monad can be made an instance of this class.

  8. data SomeException

    monadology Control.Monad.Ology.General.Exception

    The SomeException type is the root of the exception type hierarchy. When an exception of type e is thrown, behind the scenes it is encapsulated in a SomeException.

  9. onException :: MonadException m => m a -> m () -> m a

    monadology Control.Monad.Ology.General.Exception

    Run the handler on exception. Does not mask asynchronous exceptions on the handler.

  10. data IOException

    monadology Control.Monad.Ology.General.Throw

    Exceptions that occur in the IO monad. An IOException records a more specific error type, a descriptive string and maybe the handle that was used when the error was flagged.

Page 35 of many | Previous | Next