aboutsummaryrefslogtreecommitdiff
path: root/doc/haddock.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/haddock.sgml')
-rw-r--r--doc/haddock.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/haddock.sgml b/doc/haddock.sgml
index afb60f91..74128baa 100644
--- a/doc/haddock.sgml
+++ b/doc/haddock.sgml
@@ -514,8 +514,9 @@ data R a b =
}
data R a b =
- C { a :: a, -- ^ This is the documentation for the 'a' field
- b :: b -- ^ This is the documentation for the 'b' field
+ C { a :: a -- ^ This is the documentation for the 'a' field
+ -- (NOTE: *before* the following comma)
+ , b :: b -- ^ This is the documentation for the 'b' field
}
</programlisting>
</section>