aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHtml.hs
diff options
context:
space:
mode:
authordavve <davve@dtek.chalmers.se>2007-01-12 18:31:36 +0000
committerdavve <davve@dtek.chalmers.se>2007-01-12 18:31:36 +0000
commitf4ba2b390aa8e75b8154685e05d55ff3f7aa4130 (patch)
treeba08b2d9f80b9595cbb44c939028f878e54d10f8 /src/HaddockHtml.hs
parentba6251a02df22db2997bcc159db61cdb0c700b3f (diff)
Remove DocOption, use the GHC type
Diffstat (limited to 'src/HaddockHtml.hs')
-rw-r--r--src/HaddockHtml.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HaddockHtml.hs b/src/HaddockHtml.hs
index d43b8270..e01499dd 100644
--- a/src/HaddockHtml.hs
+++ b/src/HaddockHtml.hs
@@ -68,7 +68,7 @@ ppHtml doctitle maybe_package hmods odir prologue maybe_html_help_format
maybe_contents_url maybe_index_url = do
let
visible_hmods = filter visible hmods
- visible i = OptHide `notElem` hmod_options i
+ visible i = DocOptHide `notElem` hmod_options i
when (not (isJust maybe_contents_url)) $
ppHtmlContents odir doctitle maybe_package
@@ -99,7 +99,7 @@ ppHtmlHelpFiles
ppHtmlHelpFiles doctitle maybe_package hmods odir maybe_html_help_format pkg_paths = do
let
visible_hmods = filter visible hmods
- visible i = OptHide `notElem` hmod_options i
+ visible i = DocOptHide `notElem` hmod_options i
-- Generate index and contents page for Html Help if requested
case maybe_html_help_format of