From 3e54d84fb90dac70b03360cf3259482e4ec16309 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 28 May 2014 17:01:57 -0400 Subject: Use exceptions in place of deprecated MonadCatchIO-transformers --- Annex.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Annex.hs') diff --git a/Annex.hs b/Annex.hs index 4cad1d5e2..9ecb914cb 100644 --- a/Annex.hs +++ b/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 ) -- cgit v1.2.3