[Haddock] [haddock] #225: no documentation for re-exported renamed modules

haddock haddock at projects.haskell.org
Thu Nov 1 18:09:27 GMT 2012


#225: no documentation for re-exported renamed modules
-------------------+--------------------------------------------------------
Reporter:  claude  |       Owner:                  
    Type:  defect  |      Status:  new             
Priority:  major   |   Milestone:                  
 Version:  2.12.0  |    Keywords:  module re-export
-------------------+--------------------------------------------------------
 With a deep module heirarchy and modules re-exporting many modules, I find
 this syntax much less verbose:

 {{{
 module Foo (module M) where
 import Bar as M
 import Baz as M
 }}}

 But haddock makes no useful documentation.

 The verbose repetitive syntax works as expected with links to the re-
 exported modules:

 {{{
 module Foo
   ( module Bar
   , module Baz
   ) where
 import Bar
 import Baz
 }}}

 It would be very nice if haddock recognised module renaming and generated
 appropriate links to the re-exported modules - as it is now I'm going to
 have to go back to listing everything twice so that documentation is
 useable.

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


More information about the Haddock mailing list