[Haskell-cafe] haddock + class instances + hidden types

Ross Paterson ross at soi.city.ac.uk
Mon Nov 30 16:56:25 EST 2009


On Mon, Nov 30, 2009 at 04:14:03PM -0500, Sean McLaughlin wrote:
>   Is there a way to make haddock not generate instance documentation
> for non-exported types?  Right now for instance, if there is a class A
> in module A, and I have a hidden type B in module B and I have
> instance A.A B in module B, then in the documentation for module A,
> the (supposedly hidden) type B shows up as one of the instances.
> There is no hyperlink, but I don't think it should show up there.

Sadly not: http://trac.haskell.org/haddock/ticket/37


More information about the Haskell-Cafe mailing list