Ticket #225 (new defect)

Opened 5 years ago

Last modified 5 years ago

no documentation for re-exported renamed modules

Reported by: claude Owned by:
Priority: major Milestone:
Version: 2.14.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.

Change History

Changed 5 years ago by SimonHengel

Smells like a bug. Thanks for reporting this!

Note: See TracTickets for help on using tickets.