[Haddock] haddock duplicate documentation on records

David Waern david.waern at gmail.com
Fri Mar 9 08:37:41 GMT 2012


Hi Dan,

2012/3/9 Dan Burton <danburton.email at gmail.com>:
> Hi David. Sorry; normally I'd make a trac bug but it won't let me log in, so
> I'm emailing you instead, as you're listed as the maintainer of Haddock.

What happens when you try to log in?

> Haddock has strange behavior for occurrences when you document the same
> field on different constructors of a record type: it includes all of the
> documentation every time it displays that field.
>
> Here's one quick example that can reproduce the issue:
>
> cabal update && cabal unpack QuickCheck-2.4.2 && cd QuickCheck-2.4.2 &&
> cabal configure && cabal haddock && firefox
> ./dist/doc/html/QuickCheck/Test-QuickCheck.html#t:Result

Great report, thanks!

CC:ing the haddock list.

David



More information about the Haddock mailing list