Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export constructors #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jcranch
Copy link
Contributor

@jcranch jcranch commented Nov 1, 2023

The Data.Trie.Internal documentation says "This module is for developers who need deeper (and less stable) access to the abstract type", but it doesn't provide access to the constructors (unlike Data.Map.Internal, for example).

The package is made available with many caveats: its name and its documentation both clearly suggest instability. My opinion is that they should be exported, and the risk that this will break other people's code is a risk they then take on knowingly.

The `Data.Trie.Internal` documentation says "This module is for
developers who need deeper (and less stable) access to the abstract
type", but it doesn't provide access to the constructors (unlike
`Data.Map.Internal`, for example).

The package is made available with many caveats: its name and its
documentation both clearly suggest instability. My opinion is that
they should be exported, and the risk that this will break other
people's code is a risk they then take on knowingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant