aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHH2.hs
diff options
context:
space:
mode:
authorpanne <unknown>2005-01-16 15:41:25 +0000
committerpanne <unknown>2005-01-16 15:41:25 +0000
commitf1c4b8922e32871a26b8074ef12392b9b8c8e662 (patch)
tree4b84918e0cab4d3f831c975a9ad204c88cb38f24 /src/HaddockHH2.hs
parent951d840870e67b452387b35c72d235511ed9163c (diff)
[haddock @ 2005-01-16 15:41:21 by panne]
Cleaned up imports and dropped support for GHC < 5.03, it never worked, anyway.
Diffstat (limited to 'src/HaddockHH2.hs')
-rw-r--r--src/HaddockHH2.hs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/HaddockHH2.hs b/src/HaddockHH2.hs
index c71d6045..9e023dda 100644
--- a/src/HaddockHH2.hs
+++ b/src/HaddockHH2.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
ppHH2Contents :: FilePath -> String -> Maybe String -> [ModuleTree] -> IO ()
ppHH2Contents odir doctitle maybe_package tree = do