allow building with old versions of exceptions before MonadMask was split out

This commit is contained in:
Joey Hess 2014-05-28 17:48:49 -04:00
parent 02a4cef66c
commit 469640e790

View file

@ -79,7 +79,9 @@ newtype Annex a = Annex { runAnnex :: ReaderT (MVar AnnexState) IO a }
MonadReader (MVar AnnexState), MonadReader (MVar AnnexState),
MonadCatch, MonadCatch,
MonadThrow, MonadThrow,
#if MIN_VERSION_exceptions(0,6,0)
MonadMask, MonadMask,
#endif
Functor, Functor,
Applicative Applicative
) )