cvs commit: fptools/libraries/Cabal/Distribution Simple.hs fptools/libraries/Cabal/tests ModuleTest.hs fptools/libraries/Cabal/tests/A/B A.hs A.lhs

Ross Paterson ross at soi.city.ac.uk
Sun Nov 13 19:24:05 EST 2005


On Sun, Nov 13, 2005 at 03:43:15PM -0800, Isaac Jones wrote:
>   Einar Karttunen put together support for haddock-izing hidden modules.
>   
>   I added a test case.  I'm a bit concerned about munging the modules by
>   adding a 'hidden' pragma here, but it doesn't seem to cause a problem.

Haddock complains if a module has two module attribute lines, which
it will have if the author has already put one there (or if you run
setup haddock twice?).  You could check for a module attribute line,
but I think it's simpler just to require authors to put the #hide in.
Redundant and a little tedious, but modifying source files is clunky.



More information about the Cvs-libraries mailing list