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.

Backpack and multiple public library interop #1363

Open
@ekmett

Description

@ekmett

Haddock gets horribly confused by the use of backpack today.

A quick list of rough edges I've cut myself on recently.

  • It seems to have a hard time finding backpacked modules. Does cabal need to feed haddock more information about mixins or something?

  • Anything renamed on import causes documentation cross-linking to fail.

  • If a backpack package supplies an instance, even if I import that backpacked module and export the class, then it won't show up on the instance list for my class.

  • reexported-modules don't show up in the module list at all, forcing use of stubs.

  • When a package supplies multiple public libraries each gets separate haddocks, but then hackage doesn't understand anything about that idea.

When working with cabal 3+ and multiple public libraries all of this yields a situation where the haddocks are nigh unreadable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions