aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockTypes.hs
diff options
context:
space:
mode:
authordavve@dtek.chalmers.se <David Waern>2007-03-25 00:46:48 +0000
committerdavve@dtek.chalmers.se <David Waern>2007-03-25 00:46:48 +0000
commit6f55aa8b181d1cfcfb415a87733e530809332573 (patch)
tree4a9118ef06555ec818c1711ab61eb994758e481e /src/HaddockTypes.hs
parenta7077e5f38d08888459acb33e276e29ce733f206 (diff)
Start work on Haddock API
Diffstat (limited to 'src/HaddockTypes.hs')
-rw-r--r--src/HaddockTypes.hs12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/HaddockTypes.hs b/src/HaddockTypes.hs
index 9c04c6e2..4200e89f 100644
--- a/src/HaddockTypes.hs
+++ b/src/HaddockTypes.hs
@@ -6,16 +6,7 @@
-- Ported to use the GHC API by David Waern 2006
--
-module HaddockTypes (
- ExportItem(..),
- ModuleMap,
- DocMap,
- HaddockModule(..),
- DocOption(..),
- InstHead,
- DocName(..),
- DocMarkup(..)
- ) where
+module HaddockTypes where
import GHC
import Outputable
@@ -58,6 +49,7 @@ data ExportItem name
type InstHead name = ([HsPred name], name, [HsType name])
type ModuleMap = Map Module HaddockModule
type DocMap = Map Name (HsDoc DocName)
+type DocEnv = Map Name Name
data DocName = Link Name | NoLink Name