aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockTypes.hs
diff options
context:
space:
mode:
authordavve <davve@dtek.chalmers.se>2007-02-16 12:09:49 +0000
committerdavve <davve@dtek.chalmers.se>2007-02-16 12:09:49 +0000
commit2ce8e4cf32d9b0d4fc762f160e1f97addbae60f4 (patch)
treea83cc93d13beb42469d38b2e6ff9f4af6b336d7a /src/HaddockTypes.hs
parent97f9e913b65736bae23d0d9cedd7631457557e99 (diff)
Add the DocOptions change
Diffstat (limited to 'src/HaddockTypes.hs')
-rw-r--r--src/HaddockTypes.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/HaddockTypes.hs b/src/HaddockTypes.hs
index e08b0652..9c04c6e2 100644
--- a/src/HaddockTypes.hs
+++ b/src/HaddockTypes.hs
@@ -22,6 +22,14 @@ import Outputable
import Data.Map
+data DocOption
+ = OptHide -- ^ This module should not appear in the docs
+ | OptPrune
+ | OptIgnoreExports -- ^ Pretend everything is exported
+ | OptNotHome -- ^ Not the best place to get docs for things
+ -- exported by this module.
+ deriving (Eq, Show)
+
data ExportItem name
= ExportDecl
Name -- ^ The original name