Switch to safe-exceptions

This commit is contained in:
Julian Ospald 2020-01-13 23:34:15 +01:00
parent 9b20ce2e72
commit 5b9958ba23
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 3 additions and 3 deletions

View File

@ -39,6 +39,7 @@ library
, bytestring >= 0.10.0.0
, hpath >= 0.10 && < 0.11
, hpath-filepath >= 0.10 && < 0.11
, safe-exceptions >= 0.1
, streamly >= 0.7
, unix >= 2.5
, unix-bytestring

View File

@ -95,7 +95,7 @@ import Control.Applicative
(
(<$>)
)
import Control.Exception
import Control.Exception.Safe
(
IOException
, bracket

View File

@ -48,7 +48,7 @@ import Control.Applicative
(
(<$>)
)
import Control.Exception
import Control.Exception.Safe hiding (handleIOError)
import Control.Monad
(
forM
@ -96,7 +96,6 @@ import {-# SOURCE #-} HPath.IO
import System.IO.Error
(
alreadyExistsErrorType
, catchIOError
, ioeGetErrorType
, mkIOError
)