aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-07-15 10:14:31 +0000
committersimonmar <unknown>2002-07-15 10:14:31 +0000
commitbd7eb8c45d4d03af5f3bb80538e6dd00353e075b (patch)
tree6738503e3ff196fb89f551d5124470284c4ffc04 /doc
parentdde65bb94b04752bcdc5b16d6cd0944e21b4b6d0 (diff)
[haddock @ 2002-07-15 10:14:30 by simonmar]
Be a bit more liberal in the kind of commenting styles we allow, as suggested by Malcolm Wallace. Mostly this consists of allowing doc comments either side of a separator token. In an export list, a section heading is now allowed before the comma, as well as after it. eg. module M where ( T(..) -- * a section heading , f -- * another section heading , g ) In record fields, doc comments are allowed anywhere (previously a doc-next was allowed only after the comma, and a doc-before was allowed only before the comma). eg. data R = C { -- | describes 'f' f :: Int -- | describes 'g' , g :: Int }
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions