aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockDevHelp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockDevHelp.hs')
-rw-r--r--src/HaddockDevHelp.hs14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/HaddockDevHelp.hs b/src/HaddockDevHelp.hs
index cb8886c2..51cf5da2 100644
--- a/src/HaddockDevHelp.hs
+++ b/src/HaddockDevHelp.hs
@@ -1,19 +1,13 @@
module HaddockDevHelp(ppDevHelpFile) where
+import HaddockModuleTree
+import HaddockTypes
+import HaddockUtil
import HsSyn hiding(Doc)
import qualified Map
-
-#if __GLASGOW_HASKELL__ < 503
-import Pretty
-#else
-import Text.PrettyPrint
-import Data.Char
-#endif
+import PrettyPrint
import Maybe ( fromMaybe )
-import HaddockModuleTree
-import HaddockUtil
-import HaddockTypes
ppDevHelpFile :: FilePath -> String -> Maybe String -> [(Module,Interface)] -> IO ()