protolude-0.3.4: A small prelude.
Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Exceptions

Documentation

hush :: Alternative m => Either e a -> m a Source #

note :: MonadError e m => e -> Maybe a -> m a Source #

tryIO :: forall (m :: Type -> Type) a. MonadIO m => IO a -> ExceptT IOException m a Source #