2010/7/4 David Waern <david.wa...@gmail.com>:
> 2010/7/4 Daniel Fischer <daniel.is.fisc...@web.de>:
>>
>>> > Hmm, it seems only partial: documentation attached to an instance is
>>> > shown in the list of instances under a type, but not the list under a
>>> > class.
>>>
>>> I'm guessing that's to reduce noise...
>>
>> I'm guessing it might have something to do with the fact that often the
>> module containing the class definition isn't processed together with the
>> module containing the instance declaration.
>
> Actually Haddock attaches instance information to the modules in a
> separate step after having processed all of them. The fact that no
> documentation shows up for instances under the class documentation is
> a bug, embarrasingly enough, which I hadn't noticed. Looking at the
> code, it's not that I've forgotten to add code to the Html backend,
> it's something deeper that is wrong, so I will have to investigate.

I found the bug and fixed it, it's in the latest darcs version at
http://code.haskell.org/haddock.

David
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to