Copyright | (c) 2023 Yamada Ryo |
---|---|
License | MPL-2.0 (see the file LICENSE) |
Maintainer | ymdfield@outlook.jp |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Data.Effect.Except
Description
Documentation
catch'' :: forall key (a :: Type) (e :: Type) f. SendSigBy key (Catch e) f => f a -> (e -> f a) -> f a Source #
catch' :: forall tag (a :: Type) (e :: Type) f. SendSig (TagH (Catch e) tag) f => f a -> (e -> f a) -> f a Source #
liftEither :: (Throw e <: f, Applicative f) => Either e a -> f a Source #
joinExcept :: Monad m => Either (m a) a -> m a Source #
withExcept :: (Catch e <<: f, Throw e <: f, Applicative f) => f a -> (e -> f ()) -> f a Source #