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