aboutsummaryrefslogtreecommitdiff
path: root/examples/Foo.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-05-06 13:02:42 +0000
committersimonmar <unknown>2002-05-06 13:02:42 +0000
commit8e0059afd927927142cd672944de47d9e999dee3 (patch)
tree7e9787cd8ea76cbbb56a415e43d49b479a49dbe6 /examples/Foo.hs
parent8f29f69631075577d3a0ed6a9571102a82e9c94f (diff)
[haddock @ 2002-05-06 13:02:42 by simonmar]
Add another named chunk with a different name
Diffstat (limited to 'examples/Foo.hs')
-rw-r--r--examples/Foo.hs9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/Foo.hs b/examples/Foo.hs
index a4753aa9..5837fab9 100644
--- a/examples/Foo.hs
+++ b/examples/Foo.hs
@@ -34,7 +34,10 @@ module Foo (
f, g,
-- * Auxiliary stuff
- -- $aux
+
+ -- $aux1
+
+ -- $aux2
) where
@@ -138,6 +141,8 @@ h :: Int
h = 42
--- $aux This is some documentation that is attached to a name ($aux)
+-- $aux1 This is some documentation that is attached to a name ($aux1)
-- rather than a source declaration. The documentation may be
-- referred to in the export list using its name.
+
+-- $aux2 This is some documentation that is attached to a name ($aux2)