haddock + class instances + hidden types

Hi, 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. Thanks! Sean

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
participants (2)
-
Ross Paterson
-
Sean McLaughlin