[Haskell] A haddock question

Benjamin Franksen benjamin.franksen at bessy.de
Mon Oct 10 09:30:55 EDT 2005


On Monday 10 October 2005 15:17, Wolfgang Jeltsch wrote:
> Am Montag, 10. Oktober 2005 13:44 schrieb Benjamin Franksen:
> > [...]
> >
> > Is there a way to persuade haddock to list only instances of data
> > types that are actually visible to the user?
>
> I experienced the same problem and worked around it by enclosing the
> instance declarations for private data types with #ifndef __HADDOCK__
> and #endif.

That seems like a good work-around, for the moment. Thanks for the 
suggestion.

Ben


More information about the Haskell mailing list