diff options
author | Alex Biehl <alexbiehl@gmail.com> | 2017-07-07 19:17:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 19:17:15 +0200 |
commit | 42e49d322d5ef3b6e13740642844b2ba57e96b95 (patch) | |
tree | 4cde8d89d1b05f06d157777b839251e1d251b54c | |
parent | 22cbf4d9509d3b537e6c2fcf4c95ae73d930b9aa (diff) |
Remove redudant import warning (#651)
-rw-r--r-- | haddock-api/src/Haddock/Interface.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs index cdc3064e..f2d099b3 100644 --- a/haddock-api/src/Haddock/Interface.hs +++ b/haddock-api/src/Haddock/Interface.hs @@ -49,20 +49,21 @@ import qualified Data.Set as Set import Distribution.Verbosity import System.Directory import System.FilePath -import System.IO import Text.Printf import Digraph import DynFlags hiding (verbosity) import Exception import GHC hiding (verbosity) +import HscTypes +import FastString (unpackFS) +import MonadUtils (liftIO) + #if defined(mingw32_HOST_OS) +import System.IO import GHC.IO.Encoding.CodePage (mkLocaleEncoding) import GHC.IO.Encoding.Failure (CodingFailureMode(TransliterateCodingFailure)) #endif -import HscTypes -import FastString (unpackFS) -import MonadUtils (liftIO) -- | Create 'Interface's and a link environment by typechecking the list of -- modules using the GHC API and processing the resulting syntax trees. |