Safe Haskell | Safe-Infered |
---|
This package provides the choice operator (||>
) for
lifted IO monad.
Documentation
(||>) :: MonadBaseControl IO m => m a -> m a -> m aSource
If IOException
occurs or goNext
is used in the left monad,
then the right monad is performed. Note that fail
throws IOException
.