Use exceptions in place of deprecated MonadCatchIO-transformers
This commit is contained in:
parent
6e040807dd
commit
99b89b22fd
3 changed files with 7 additions and 5 deletions
6
Annex.hs
6
Annex.hs
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue