Ticket #225 (new defect)

Opened 2 years ago

Last modified 2 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
Cc:

Description

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 2 years ago by SimonHengel

Smells like a bug. Thanks for reporting this!

Note: See TracTickets for help on using tickets.