hw-prelude-0.0.0.3: Opinionated prelude library
Safe HaskellSafe-Inferred
LanguageHaskell2010

HaskellWorks.Error

Documentation

onLeft :: forall e a m. Monad m => (e -> m a) -> Either e a -> m a Source #

onNothing :: forall a m. Monad m => m a -> Maybe a -> m a Source #

onLeftM :: forall e a m. Monad m => (e -> m a) -> m (Either e a) -> m a Source #

onNothingM :: forall a m. Monad m => m a -> m (Maybe a) -> m a Source #