On Wed, May 20, 2009 at 09:42:19AM +0200, David Waern wrote: > 2009/5/15 Maurício <[email protected]>: > > I have a situation like this: module A imports R (a newtype > > declaration) from module B, and lists it in its (module A) > > export list. > > > > Documentation for R is included by haddock in documentation > > for module A, as I want. However, if my package exposes only > > module A, documentation for R desapears. > > When you say documentation disappears, do you mean that R is still > listed, but its comments are not shown, or is R completely absent from > the documentation?
See http://trac.haskell.org/haddock/ticket/107 He just needs to include B in the other-modules list, so that cabal will pass it to haddock (and setup sdist). _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
