Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cleanly release resources and clean up contexts
Synopsis
- retry :: MonadCleanup m => Natural -> m a -> m a
- always :: MonadCleanup m => m a -> m b -> m a
- module Control.Monad.Rescue
- module Control.Monad.Cleanup.Class
Documentation
retry :: MonadCleanup m => Natural -> m a -> m a Source #
always :: MonadCleanup m => m a -> m b -> m a Source #
Equivalent of finally
Reexport
module Control.Monad.Rescue
module Control.Monad.Cleanup.Class