From: Ross Paterson Date: Sun, 20 Jan 2008 02:23:08 +0000 (+0000) Subject: haddock attributes for haddock-2.0 X-Git-Tag: 2008-05-28~85 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4ef39162b8ae3ab239009e6386b5787475f172d9;p=ghc-base.git haddock attributes for haddock-2.0 --- diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index fe9f33d..a60e0b3 100644 --- a/GHC/Arr.lhs +++ b/GHC/Arr.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude -fno-bang-patterns -funbox-strict-fields #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Arr diff --git a/GHC/Base.lhs b/GHC/Base.lhs index 5c33176..a95d19d 100644 --- a/GHC/Base.lhs +++ b/GHC/Base.lhs @@ -63,6 +63,7 @@ Other Prelude modules are much easier with fewer complex dependencies. \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Base diff --git a/GHC/Conc.lhs b/GHC/Conc.lhs index 498b928..aa2eff1 100644 --- a/GHC/Conc.lhs +++ b/GHC/Conc.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK not-home #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Conc diff --git a/GHC/Enum.lhs b/GHC/Enum.lhs index 69c49e0..30ec89a 100644 --- a/GHC/Enum.lhs +++ b/GHC/Enum.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Enum diff --git a/GHC/Err.lhs b/GHC/Err.lhs index 946ca36..d997476 100644 --- a/GHC/Err.lhs +++ b/GHC/Err.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Err diff --git a/GHC/Exception.lhs b/GHC/Exception.lhs index 385483a..c2aa95f 100644 --- a/GHC/Exception.lhs +++ b/GHC/Exception.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Exception diff --git a/GHC/Float.lhs b/GHC/Float.lhs index 2460304..ff40906 100644 --- a/GHC/Float.lhs +++ b/GHC/Float.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Float diff --git a/GHC/ForeignPtr.hs b/GHC/ForeignPtr.hs index dc1f02f..a187570 100644 --- a/GHC/ForeignPtr.hs +++ b/GHC/ForeignPtr.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.ForeignPtr diff --git a/GHC/Handle.hs b/GHC/Handle.hs index 8d1dc0d..43eb55c 100644 --- a/GHC/Handle.hs +++ b/GHC/Handle.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-} +{-# OPTIONS_HADDOCK hide #-} #undef DEBUG_DUMP #undef DEBUG diff --git a/GHC/IO.hs b/GHC/IO.hs index 1f3590d..8d167e8 100644 --- a/GHC/IO.hs +++ b/GHC/IO.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-} +{-# OPTIONS_HADDOCK hide #-} #undef DEBUG_DUMP diff --git a/GHC/IOBase.lhs b/GHC/IOBase.lhs index 3b82a52..684497e 100644 --- a/GHC/IOBase.lhs +++ b/GHC/IOBase.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude -funbox-strict-fields #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.IOBase diff --git a/GHC/Int.hs b/GHC/Int.hs index 81fb95f..e37d2bb 100644 --- a/GHC/Int.hs +++ b/GHC/Int.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Int diff --git a/GHC/List.lhs b/GHC/List.lhs index aa7dae6..cc2c1a0 100644 --- a/GHC/List.lhs +++ b/GHC/List.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.List diff --git a/GHC/Num.lhs b/GHC/Num.lhs index 4a74030..708d695 100644 --- a/GHC/Num.lhs +++ b/GHC/Num.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Num diff --git a/GHC/Pack.lhs b/GHC/Pack.lhs index 5489968..d9c47db 100644 --- a/GHC/Pack.lhs +++ b/GHC/Pack.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Pack diff --git a/GHC/Ptr.lhs b/GHC/Ptr.lhs index 79dbc74..8763a3e 100644 --- a/GHC/Ptr.lhs +++ b/GHC/Ptr.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Ptr diff --git a/GHC/Read.lhs b/GHC/Read.lhs index f5a6c0d..41c6ce4 100644 --- a/GHC/Read.lhs +++ b/GHC/Read.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Read diff --git a/GHC/Real.lhs b/GHC/Real.lhs index 8adcea4..f3c965e 100644 --- a/GHC/Real.lhs +++ b/GHC/Real.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Real diff --git a/GHC/ST.lhs b/GHC/ST.lhs index 909a8da..8642bbb 100644 --- a/GHC/ST.lhs +++ b/GHC/ST.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.ST diff --git a/GHC/STRef.lhs b/GHC/STRef.lhs index efaa578..4fd8425 100644 --- a/GHC/STRef.lhs +++ b/GHC/STRef.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.STRef diff --git a/GHC/Show.lhs b/GHC/Show.lhs index 15e5913..c705669 100644 --- a/GHC/Show.lhs +++ b/GHC/Show.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Show diff --git a/GHC/Stable.lhs b/GHC/Stable.lhs index 0de033d..999472a 100644 --- a/GHC/Stable.lhs +++ b/GHC/Stable.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Stable diff --git a/GHC/Storable.lhs b/GHC/Storable.lhs index de7cf67..803df9c 100644 --- a/GHC/Storable.lhs +++ b/GHC/Storable.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Storable diff --git a/GHC/TopHandler.lhs b/GHC/TopHandler.lhs index 44ac461..41fd16c 100644 --- a/GHC/TopHandler.lhs +++ b/GHC/TopHandler.lhs @@ -1,4 +1,5 @@ \begin{code} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.TopHandler diff --git a/GHC/Unicode.hs b/GHC/Unicode.hs index 0c0cc12..2cfaf09 100644 --- a/GHC/Unicode.hs +++ b/GHC/Unicode.hs @@ -1,5 +1,6 @@ {-# OPTIONS -fno-implicit-prelude #-} {-# OPTIONS -#include "WCsubst.h" #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Unicode diff --git a/GHC/Weak.lhs b/GHC/Weak.lhs index 5935f18..555fd8d 100644 --- a/GHC/Weak.lhs +++ b/GHC/Weak.lhs @@ -1,5 +1,6 @@ \begin{code} {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Weak diff --git a/GHC/Word.hs b/GHC/Word.hs index a2edfe8..4e35965 100644 --- a/GHC/Word.hs +++ b/GHC/Word.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- | -- Module : GHC.Word diff --git a/System/Posix/Internals.hs b/System/Posix/Internals.hs index 6173140..251a22d 100644 --- a/System/Posix/Internals.hs +++ b/System/Posix/Internals.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-implicit-prelude #-} +{-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- -- |