aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Types.hs
diff options
context:
space:
mode:
authorDavid Waern <unknown>2007-08-29 23:26:24 +0000
committerDavid Waern <unknown>2007-08-29 23:26:24 +0000
commit2ad606aaea58bce57ebb1681831514caf6ff56a3 (patch)
treea0f86d267a922efa5dc8929074934e5d605a86b5 /src/Haddock/Types.hs
parent658e79eddf0ac941d2719ec0a3aea58f42ef1277 (diff)
Rename HaddockModule to Interface and a few more refactorings
Diffstat (limited to 'src/Haddock/Types.hs')
-rw-r--r--src/Haddock/Types.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index 44e8d7fd..8b2cfa34 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -75,7 +75,7 @@ data ExportItem name
type InstHead name = ([HsPred name], name, [HsType name])
-type ModuleMap = Map Module HaddockModule
+type ModuleMap = Map Module Interface
type DocMap = Map Name (HsDoc DocName)
type LinkEnv = Map Name Name
@@ -108,7 +108,7 @@ data GhcModule = GhcModule {
-- structure (see Haddock.Interface).
--
-- The structure also holds intermediate data needed during its creation.
-data HaddockModule = HM {
+data Interface = Interface {
-- | A value to identify the module
hmod_mod :: Module,