patch applied (ghc-6.10/haddock2): Store hidden modules in .haddock files
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.other |
|---|---|
| Message-ID | <[email protected]> |
Sat Nov 15 14:59:33 PST 2008 David Waern <[email protected]> * Store hidden modules in .haddock files We store documentation for an entity in the 'InstalledInterface' of the definition site module, and never in the same structure for a module which re-exports the entity. So when a client of the Haddock library wants to look up some documentation, he/she might need to access a hidden module. But we currently don't store hidden modules in the .haddock files. So we add the hidden modules and the Haddock options to the .haddock files. The options will be used to filter the module list to obtain the visible modules only, which is necessary for generating the contents and index for installed packages. M ./src/Haddock/InterfaceFile.hs -5 +7 M ./src/Haddock/Types.hs -2 +4 M ./src/Main.hs -13 +12 View patch online: http://darcs.haskell.org/ghc-6.10/haddock2/_darcs/patches/20081115225933-a762e-91fc36b3609497f989644f8db08d7f610639b671.gz