aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockDevHelp.hs
diff options
context:
space:
mode:
authorpanne <unknown>2005-01-16 14:37:10 +0000
committerpanne <unknown>2005-01-16 14:37:10 +0000
commit951d840870e67b452387b35c72d235511ed9163c (patch)
treec62b706cbe5de938a995073cc15e8e463b581fce /src/HaddockDevHelp.hs
parentdae3cc3eb74cfe7e59b18242897584664078233f (diff)
[haddock @ 2005-01-16 14:37:10 by panne]
Refactored Text.PrettyPrint legacy hell into a separate module.
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 ()