diff options
Diffstat (limited to 'src/Haddock/Types.hs')
-rw-r--r-- | src/Haddock/Types.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs index 3951d030..c3f3e8ce 100644 --- a/src/Haddock/Types.hs +++ b/src/Haddock/Types.hs @@ -22,6 +22,11 @@ type Decl = LHsDecl Name type Doc = HsDoc Name +-- | A declaration that may have documentation, including its subordinates, +-- which may also have documentation +type DeclInfo = (Decl, Maybe Doc, [(Name, Maybe Doc)]) + + {-! for DocOption derive: Binary !-} data DocOption = OptHide -- ^ This module should not appear in the docs |