aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHtml.hs
diff options
context:
space:
mode:
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