From 42e49d322d5ef3b6e13740642844b2ba57e96b95 Mon Sep 17 00:00:00 2001 From: Alex Biehl Date: Fri, 7 Jul 2017 19:17:15 +0200 Subject: Remove redudant import warning (#651) --- haddock-api/src/Haddock/Interface.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'haddock-api/src/Haddock/Interface.hs') 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. -- cgit v1.2.3