[Haskell] A haddock question

Wolfgang Jeltsch wolfgang at jeltsch.net
Mon Oct 10 09:17:05 EDT 2005


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.

> Ben

Best wishes,
Wolfgang


More information about the Haskell mailing list