aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-05-13 21:27:51 +0000
committerDavid Waern <david.waern@gmail.com>2010-05-13 21:27:51 +0000
commit004ba961fef3b784484a0aeb201faf8d9a31325b (patch)
tree71de2e7f883d30ca4938244c23767ffdb28545ef /src/Haddock
parent3428649fdd256c30f1a091607455216593148c91 (diff)
Improve doc comment for Interface
Diffstat (limited to 'src/Haddock')
-rw-r--r--src/Haddock/Types.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index bd2b1200..d862b56d 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -46,10 +46,11 @@ type GhcDocHdr = Maybe LHsDocString
-----------------------------------------------------------------------------
--- | The data structure used to render a Haddock page for a module - it is
--- the interface of the module. The core of Haddock lies in creating this
--- structure (see Haddock.Interface). The structure also holds intermediate
--- data needed during its creation.
+-- | 'Interface' holds all information used to render a single Haddock page.
+-- It represents the /interface/ of a module. The core business of Haddock
+-- lies in creating this structure. Note that the record contains some fields
+-- that are only used to create the final record, and that are not used by the
+-- backends.
data Interface = Interface {
-- | The module represented by this interface.