Cabal or haddock? Can't export documentation from hidden module

Ross Paterson ross at
Wed May 20 02:40:03 EDT 2009

On Tue, May 19, 2009 at 10:58:48PM -0300, Maurí­cio wrote:
> I opened this ticket, but then I thought
> that maybe it is not related to haddock but
> to how Distribution modules call haddock:
> What do you think? When I don't expose
> a module in .cabal file, other modules do
> not show documentation imported from that
> module.

You need to list hidden modules in the Other-Modules field: see the
Cabal User's Guide.

More information about the Libraries mailing list