[Haskell-beginners] Re: hiding documentation for non-exposed modules

Ashish Agarwal agarwal1975 at gmail.com
Tue Mar 30 15:47:26 EDT 2010

The pragma

{-# OPTIONS_HADDOCK hide #-}

does what I want, but it seems to me that cabal should be handling this.

On Tue, Mar 30, 2010 at 2:55 PM, Ashish Agarwal <agarwal1975 at gmail.com>wrote:

> I'm using cabal to build and install a new library I'm writing. In the
> .cabal file I've exposed only a single module. However, the haddock
> generated documentation includes even the non-exposed modules, which is not
> what I want since end-users should not see these. Is there a way to tell
> cabal to build documentation only for exposed modules?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100330/4202bf4d/attachment.html

More information about the Beginners mailing list