From 951d840870e67b452387b35c72d235511ed9163c Mon Sep 17 00:00:00 2001 From: panne Date: Sun, 16 Jan 2005 14:37:10 +0000 Subject: [haddock @ 2005-01-16 14:37:10 by panne] Refactored Text.PrettyPrint legacy hell into a separate module. --- src/HaddockDevHelp.hs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/HaddockDevHelp.hs') 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 () -- cgit v1.2.3