diff options
author | simonmar <unknown> | 2002-07-15 10:14:31 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-07-15 10:14:31 +0000 |
commit | bd7eb8c45d4d03af5f3bb80538e6dd00353e075b (patch) | |
tree | 6738503e3ff196fb89f551d5124470284c4ffc04 /src/HaddockRename.hs | |
parent | dde65bb94b04752bcdc5b16d6cd0944e21b4b6d0 (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 'src/HaddockRename.hs')
0 files changed, 0 insertions, 0 deletions