Haddock bug?

Simon Marlow simonmar at microsoft.com
Fri May 7 11:16:31 EDT 2004

On 07 May 2004 06:11, Adrian Hey wrote:

> There seems to be a bug in Haddock 0.6, which causes it not to list
> indexes which don't contain an upper case identifier.
> At the moment I'm fixing the problem by creating a dummy data type
> in my top level wrapper module..
>  data Dummy = A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
> ..which seems to fix this problem, but I'd rather not have to do
> this:-) Is there a better work around for this?

There has been a fix for this in CVS for a while.  You could build
Haddock from CVS, or wait for version 0.7 (I dunno when that will be,

> Also, reading the release notes, there's mention of --gen-contents
> and --use-contents flags, but these don't seem to be documented in
> the user guide AFAICS.

Oops, looks like I forgot to document those.  Thanks.  They work just
like the --gen-index and --use-index flags.


More information about the Glasgow-haskell-users mailing list