aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHH.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-07-28 14:32:43 +0000
committersimonmar <unknown>2003-07-28 14:32:43 +0000
commit6cfeee53431768f8d8326d6c645d6ccda198bde0 (patch)
tree7bcf9f5603882ccd49d967a9709a32cfd1e8ea21 /src/HaddockHH.hs
parentdbb776cd407bd7237fb81901d6bf405851b46754 (diff)
[haddock @ 2003-07-28 14:32:42 by simonmar]
Update to avoid using hslibs with GHC >= 5.04
Diffstat (limited to 'src/HaddockHH.hs')
-rw-r--r--src/HaddockHH.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/HaddockHH.hs b/src/HaddockHH.hs
index d1c0f486..9357c00c 100644
--- a/src/HaddockHH.hs
+++ b/src/HaddockHH.hs
@@ -1,8 +1,15 @@
module HaddockHH(ppHHContents, ppHHIndex) where
import HsSyn hiding(Doc)
+
+#if __GLASGOW_HASKELL__ < 503
import Pretty
import FiniteMap
+#else
+import Text.PrettyPrint
+import Data.FiniteMap
+#endif
+
import HaddockModuleTree
import HaddockUtil
import HaddockTypes