Skip to content

Commit

Permalink
disambiguate Control.Exception.catch for nhc98
Browse files Browse the repository at this point in the history
  • Loading branch information
Malcolm.Wallace authored and Malcolm.Wallace committed Jul 28, 2008
1 parent da43b8e commit ff0bcaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Distribution/Simple/GHC.hs
Expand Up @@ -127,8 +127,9 @@ import System.Exit ( ExitCode(..) )
import System.FilePath ( (</>), (<.>), takeExtension,
takeDirectory, replaceExtension, splitExtension )
import System.IO (openFile, IOMode(WriteMode), hClose, hPutStrLn)
import qualified Control.Exception as Exception (catch)
import Control.Exception as Exception
( catch, handle, try, Exception(..) )
( handle, try, Exception(..) )

-- -----------------------------------------------------------------------------
-- Configuring
Expand Down
2 changes: 1 addition & 1 deletion Distribution/Simple/Program.hs
Expand Up @@ -105,7 +105,7 @@ import Distribution.Verbosity
import System.Directory
( doesFileExist, findExecutable )
import Control.Monad (join, foldM)
import Control.Exception as Exception (catch)
import qualified Control.Exception as Exception (catch)

-- | Represents a program which can be configured.
data Program = Program {
Expand Down

0 comments on commit ff0bcaf

Please sign in to comment.