aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Types.hs')
-rw-r--r--src/Haddock/Types.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index f9b423de..3951d030 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -17,6 +17,11 @@ import GHC hiding (NoLink)
import Name
+-- convenient short-hands
+type Decl = LHsDecl Name
+type Doc = HsDoc Name
+
+
{-! for DocOption derive: Binary !-}
data DocOption
= OptHide -- ^ This module should not appear in the docs