aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHH.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockHH.hs')
-rw-r--r--src/HaddockHH.hs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/HaddockHH.hs b/src/HaddockHH.hs
index 40d74967..d5bf7109 100644
--- a/src/HaddockHH.hs
+++ b/src/HaddockHH.hs
@@ -5,13 +5,10 @@ import HaddockTypes
import HaddockUtil
import HsSyn hiding(Doc)
import qualified Map
-import PrettyPrint
-#if __GLASGOW_HASKELL__ >= 503
import Data.Char ( toUpper )
-#endif
-
-import Maybe ( fromMaybe )
+import Data.Maybe ( fromMaybe )
+import Text.PrettyPrint
ppHHContents :: FilePath -> String -> Maybe String -> [ModuleTree] -> IO ()
ppHHContents odir doctitle maybe_package tree = do