Takusen-0.8: Database library with left-fold interface, for PostgreSQL, Oracle, SQLite, ODBC.

Control.Exception.MonadIO

Documentation

class MonadIO m => CaughtMonadIO m whereSource

Methods

gcatch :: m a -> (Exception -> m a) -> m aSource

gcatchJust :: (Exception -> Maybe b) -> m a -> (b -> m a) -> m aSource

gtryJust :: CaughtMonadIO m => (Exception -> Maybe b) -> m b1 -> m (Either b b1)Source

gbracket :: CaughtMonadIO m => m t -> (t -> m a) -> (t -> m b) -> m bSource

gfinally :: CaughtMonadIO m => m t -> m a -> m tSource