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.

Hidden constructors are exposed when using module reexports #591

Closed

Description

@nikita-volkov

Here are the generated docs:
image

Here's the code for that module. You can see that the constructors are hidden.
image

A GHCI session proves that they are in fact hidden:

image

The associated code is here:
https://github.com/sannsyn/solr/tree/c49701f422c1ed21689757917548964ac312d4e8

Activity

  1. alexbiehl commented on Mar 20, 2017

    @alexbiehl
    Member

    I bet this is another short coming of haddocks export logic. See #584 for another example. @ezyang proposed a solution in #586 but it got stuck in some detail about documentation on exports I think. I intend to take a look at some point.

  2. ezyang commented on Mar 20, 2017

    @ezyang
    Contributor

    I think what may be the right thing to do is to extend the renamed IE syntax to also record "expansions" for T(..) and module Foo style exports, so that Haddock can directly read off what is brought into scope, rather than try to recompute it (poorly).

  3. added a commit that references this issue on Sep 5, 2017
  4. 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

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