Switch to safe-exceptions
This commit is contained in:
parent
9b20ce2e72
commit
5b9958ba23
@ -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
|
||||
|
@ -95,7 +95,7 @@ import Control.Applicative
|
||||
(
|
||||
(<$>)
|
||||
)
|
||||
import Control.Exception
|
||||
import Control.Exception.Safe
|
||||
(
|
||||
IOException
|
||||
, bracket
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user