Switch to safe-exceptions
This commit is contained in:
parent
9b20ce2e72
commit
5b9958ba23
@ -39,6 +39,7 @@ library
|
|||||||
, bytestring >= 0.10.0.0
|
, bytestring >= 0.10.0.0
|
||||||
, hpath >= 0.10 && < 0.11
|
, hpath >= 0.10 && < 0.11
|
||||||
, hpath-filepath >= 0.10 && < 0.11
|
, hpath-filepath >= 0.10 && < 0.11
|
||||||
|
, safe-exceptions >= 0.1
|
||||||
, streamly >= 0.7
|
, streamly >= 0.7
|
||||||
, unix >= 2.5
|
, unix >= 2.5
|
||||||
, unix-bytestring
|
, unix-bytestring
|
||||||
|
@ -95,7 +95,7 @@ import Control.Applicative
|
|||||||
(
|
(
|
||||||
(<$>)
|
(<$>)
|
||||||
)
|
)
|
||||||
import Control.Exception
|
import Control.Exception.Safe
|
||||||
(
|
(
|
||||||
IOException
|
IOException
|
||||||
, bracket
|
, bracket
|
||||||
|
@ -48,7 +48,7 @@ import Control.Applicative
|
|||||||
(
|
(
|
||||||
(<$>)
|
(<$>)
|
||||||
)
|
)
|
||||||
import Control.Exception
|
import Control.Exception.Safe hiding (handleIOError)
|
||||||
import Control.Monad
|
import Control.Monad
|
||||||
(
|
(
|
||||||
forM
|
forM
|
||||||
@ -96,7 +96,6 @@ import {-# SOURCE #-} HPath.IO
|
|||||||
import System.IO.Error
|
import System.IO.Error
|
||||||
(
|
(
|
||||||
alreadyExistsErrorType
|
alreadyExistsErrorType
|
||||||
, catchIOError
|
|
||||||
, ioeGetErrorType
|
, ioeGetErrorType
|
||||||
, mkIOError
|
, mkIOError
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user