diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2014-05-28 17:01:57 -0400 |
---|---|---|
committer | Ben Gamari <bgamari.foss@gmail.com> | 2014-05-28 17:03:40 -0400 |
commit | 3e54d84fb90dac70b03360cf3259482e4ec16309 (patch) | |
tree | bb9d4e2af7c3914e93eec1a946f2d40c94c32882 /Annex.hs | |
parent | ac63e885d9dcb84a8d989452ef232827eeb86ddc (diff) |
Use exceptions in place of deprecated MonadCatchIO-transformers
Diffstat (limited to 'Annex.hs')
-rw-r--r-- | Annex.hs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 ) |