qualify catch and try
got a build failure on android due to there being a Prelude.catch
This commit is contained in:
parent
29aa5e82dc
commit
fb66ee8c85
1 changed files with 2 additions and 2 deletions
|
@ -52,11 +52,11 @@ catchMsgIO a = do
|
|||
|
||||
{- catch specialized for IO errors only -}
|
||||
catchIO :: MonadCatch m => m a -> (IOException -> m a) -> m a
|
||||
catchIO = catch
|
||||
catchIO = M.catch
|
||||
|
||||
{- try specialized for IO errors only -}
|
||||
tryIO :: MonadCatch m => m a -> m (Either IOException a)
|
||||
tryIO = try
|
||||
tryIO = M.try
|
||||
|
||||
{- bracket with setup and cleanup actions lifted to IO.
|
||||
-
|
||||
|
|
Loading…
Reference in a new issue