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

Removing deprecated modules and packages #92

Closed
wants to merge 1 commit into from

Conversation

jcranch
Copy link
Contributor

@jcranch jcranch commented Oct 26, 2023

As things are, this repository contains three different variants of the same code providing the same functionality (across two packages). Two have been deprecated for at least three years. The presence of these two deprecated versions makes the package less appealing and harder to interact with (both on GitHub, and on Hackage).

There is an argument that the best location for this library is Data.Witherable, not Witherable (by analogy with Data.{Foldable,Traversable,Functor}). However, I think the best way to do this is in two parts: get down to one single package with one single module now, and then (maybe later) talk about what that one module should be called.

@phadej
Copy link
Collaborator

phadej commented Oct 26, 2023

This (removal of a module from witherable) is a breaking change. I don't think it's worth doing if there aren't anything else (breaking) happening.

@jcranch
Copy link
Contributor Author

jcranch commented Oct 26, 2023

Pull request #93 is also a breaking change. My pull request is perhaps not the only way of solving the problem, but it is a problem that must be solved, and I don't think it can be solved without a breaking change.

@phadej
Copy link
Collaborator

phadej commented Oct 26, 2023

#93 can be solved in a non-breaking way by removing the incorrect (?) law. I'm quite sure you might be the only person who relies on it (EDIT: I wasn't even aware that it exists, and subconsciously knew it couldn't).

@fumieval
Copy link
Owner

For the record I'm +1 to the change. After 10+ years of using Haskell in both hobby and production, I concluded that module name prefixes don't worth it

@phadej
Copy link
Collaborator

phadej commented Oct 26, 2023

@fumieval sure. And #94 is a good reason to do breaking change (and cleanup). But I'm quite sure people won't like #93, so that should be considered carefully.

@phadej
Copy link
Collaborator

phadej commented Nov 10, 2023

witherable-class removed in #98, and Data.Witherable in #99. Thanks for prompting the cleanups.

@phadej phadej closed this Nov 10, 2023
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.

3 participants