aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHtml.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/HaddockHtml.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/HaddockHtml.hs')
-rw-r--r--src/HaddockHtml.hs37
1 files changed, 17 insertions, 20 deletions
diff --git a/src/HaddockHtml.hs b/src/HaddockHtml.hs
index c4bda56c..ced6e351 100644
--- a/src/HaddockHtml.hs
+++ b/src/HaddockHtml.hs
@@ -11,31 +11,28 @@ module HaddockHtml (
) where
import Prelude hiding (div)
-import HaddockVersion
-import HaddockTypes
-import HaddockUtil
-import HaddockModuleTree
+
+import Binary ( openBinaryFile )
+import HaddockDevHelp
import HaddockHH
import HaddockHH2
-import HaddockDevHelp
+import HaddockModuleTree
+import HaddockTypes
+import HaddockUtil
+import HaddockVersion
import HsSyn
-import Map ( Map )
-import qualified Map
-
-import Maybe ( fromJust, isJust, mapMaybe )
-import List ( sortBy )
-import Char ( isUpper, toUpper )
-import Monad ( when, unless )
-
-
-import Foreign
-import Control.Exception ( handle, bracket )
-
-import Binary ( openBinaryFile )
-import System.IO ( IOMode(..), hClose, hGetBuf, hPutBuf )
-
import Html
import qualified Html
+import Map ( Map )
+import qualified Map hiding ( Map )
+
+import Control.Exception ( bracket )
+import Control.Monad ( when, unless )
+import Data.Char ( isUpper, toUpper )
+import Data.List ( sortBy )
+import Data.Maybe ( fromJust, isJust, mapMaybe )
+import Foreign.Marshal.Alloc ( allocaBytes )
+import System.IO ( IOMode(..), hClose, hGetBuf, hPutBuf )
-- -----------------------------------------------------------------------------
-- Generating HTML documentation