Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

no documentation for re-exported renamed modules #225

Closed

Description

@ghc-mirror

Original reporter: claude@

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.

Activity

  1. self-assigned this
    on May 8, 2014
  2. ghc-mirror commented on May 8, 2014

    @ghc-mirror
    Author

    Original reporter: sol@

    Smells like a bug. Thanks for reporting this!

  3. tfausak commented on Jan 4, 2017

    @tfausak

    Duplicate of #121?

  4. ntc2 commented on May 7, 2017

    @ntc2
    Contributor

    Issue #584 also mentions this issue among others.

  5. added a commit that references this issue on Sep 5, 2017
  6. gbaz commented on Feb 5, 2018

    @gbaz
    Contributor

    should be resolved by #688

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions