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

Get rid of Group, with the intention that the groups library is used instead #24

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Dec 7, 2020

See change log, this does depend on #4 being resolved first, and possibly other issues.

@Ericson2314 Ericson2314 force-pushed the no-group branch 3 times, most recently from b7381af to 2aaae42 Compare December 10, 2020 00:25
@Ericson2314 Ericson2314 changed the title Remove Group which is not needed by this library Use Group from the groups library. Dec 10, 2020
@ali-abrar
Copy link
Member

Let's see where things actually break without that orphan instance - maybe we can remove reliance on it entirely.

@Ericson2314 Ericson2314 changed the title Use Group from the groups library. Get rid of Group, with the intention that the groups library is used instead Dec 12, 2020
Keep `Additive`, however. See ChangeLog for more details.

The version in the cabal file is bumped to remind whoever does the
future release that this is breaking change.

Closes #4.
It turns out we were relying on instances from a transitive dependency
on base-orphans. Added that explicitly so that we don't regress on the
instances provided with old GHCs.
patch.cabal Outdated
Comment on lines 42 to 43
if impl(ghc < 8.6) -- really, if base < 8.12
build-depends: base-orphans >= 0.8 && < 0.9
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could get rid of this, and just not provide :.: and :*: Additive instances before GHC 8.6. I don't care which.

@Ericson2314 Ericson2314 marked this pull request as draft September 26, 2024 16:03
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.

2 participants