protolude-0.2.2: A small prelude.

Safe HaskellTrustworthy
LanguageHaskell2010

Protolude.Exceptions

Documentation

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

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

tryIO :: MonadIO m => IO a -> ExceptT IOException m a #