Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cabal/cabal-install: renamed D.C.Exception -> D.C.ExceptionCI to avoi…

…d clash with Cabal's one

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
commit 694af3609d7e99bd4a4582fce6cfae86862f8b22 1 parent 54762ef
@trofi trofi authored
View
2  cabal-install/Distribution/Client/HttpUtils.hs
@@ -32,7 +32,7 @@ import System.Win32.Registry
, regQueryValue, regQueryValueEx )
import Control.Exception
( bracket )
-import Distribution.Compat.Exception
+import Distribution.Compat.ExceptionCI
( handleIO )
import Foreign
( toBool, Storable(peek, sizeOf), castPtr, alloca )
View
2  cabal-install/Distribution/Client/Install.hs
@@ -33,7 +33,7 @@ import System.Exit
import Control.Exception as Exception
( Exception(IOException, ExitException) )
#endif
-import Distribution.Compat.Exception
+import Distribution.Compat.ExceptionCI
( SomeException, catchIO, catchExit )
import Control.Monad
( when, unless )
View
2  cabal-install/Distribution/Client/Types.hs
@@ -29,7 +29,7 @@ import Distribution.Version
import Data.Map (Map)
import Network.URI (URI)
-import Distribution.Compat.Exception
+import Distribution.Compat.ExceptionCI
( SomeException )
newtype Username = Username { unUsername :: String }
View
2  ...-install/Distribution/Compat/Exception.hs → ...nstall/Distribution/Compat/ExceptionCI.hs
@@ -3,7 +3,7 @@
{-# OPTIONS_NHC98 -cpp #-}
{-# OPTIONS_JHC -fcpp #-}
-- #hide
-module Distribution.Compat.Exception (
+module Distribution.Compat.ExceptionCI (
SomeException,
onException,
catchIO,

0 comments on commit 694af36

Please sign in to comment.
Something went wrong with that request. Please try again.