foundation-0.0.23: Alternative prelude with batteries and no dependencies

Safe HaskellNone
LanguageHaskell2010

Foundation.Exception

Documentation

finally :: MonadBracket m => m a -> m b -> m a Source #

try :: (MonadCatch m, Exception e) => m a -> m (Either e a) Source #