Use exceptions in place of deprecated MonadCatchIO-transformers

This commit is contained in:
Ben Gamari 2014-05-28 17:01:57 -04:00
parent 6e040807dd
commit 99b89b22fd
3 changed files with 7 additions and 5 deletions

View file

@ -33,7 +33,7 @@ module Annex (
) where
import "mtl" Control.Monad.Reader
import "MonadCatchIO-transformers" Control.Monad.CatchIO
import Control.Monad.Catch
import Control.Concurrent
import Common
@ -77,7 +77,9 @@ newtype Annex a = Annex { runAnnex :: ReaderT (MVar AnnexState) IO a }
Monad,
MonadIO,
MonadReader (MVar AnnexState),
MonadCatchIO,
MonadCatch,
MonadThrow,
MonadMask,
Functor,
Applicative
)