[haddock] #107: Haddock do not generate doc for reexported name

haddock haddock at projects.haskell.org
Sun May 17 01:31:44 EDT 2009


#107: Haddock do not generate doc for reexported name
-------------------+--------------------------------------------------------
Reporter:  M       |       Owner:       
    Type:  defect  |      Status:  new  
Priority:  major   |   Milestone:  2.5.0
 Version:  2.4.2   |    Keywords:       
-------------------+--------------------------------------------------------
 I'm attaching an example of what I think is an error. It has ModuleA and
 ModuleB. ModuleB is supposed to be hidden. ModuleA imports ModuleB and
 reexports a ModuleB documented name. There's also a .cabal file, and I
 generate documentation using 'runhaskell Setup.hs haddock'. If .cabal says
 ModuleA and ModuleB are to be exposed, I have no problems, and ModuleA
 documentation shows correct documentation for reexported ModuleB name. But
 if I remove ModuleB from .cabal list of exposed modules, documentation for
 ModuleA do not show documentation for reexported ModuleB name.

 Why hidding ModuleB affects ModuleA documentation?

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/107>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list