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

Allow hashable-1.2.5 and thus GHC-7.0 #95

Merged
merged 1 commit into from May 10, 2019
Merged

Conversation

phadej
Copy link
Contributor

@phadej phadej commented May 10, 2019

... and this another:


This is compomise: we still support GHC-7.0, but Hashable Arg instance
depends on hashable version.

I think this is morally ok, as observing difference would require
downstream to depend on hashable, thus they can differentiate.
But that's however not entirely true, if one e.g. uses Arg
as a key in HashMap, yet one wouldn't with old hashable
as then Hashable Arg and Eq Arg disagree, so it probably doesn't
work anyway.

@phadej phadej changed the title Allow hashable-1.2.7 and thus GHC-7.0 Allow hashable-1.2.5 and thus GHC-7.0 May 10, 2019
This is compomise: we still support GHC-7.0, but `Hashable Arg` instance
depends on `hashable` version.

I think this is morally ok, as *observing* difference would require
downstream to depend on `hashable`, thus they can differentiate.
But that's however not entirely true, if one e.g. uses `Arg`
as a key in `HashMap`, yet one wouldn't with old `hashable`
as then `Hashable Arg` and `Eq Arg` disagree, so it probably doesn't
work anyway.
@RyanGlScott
Copy link
Collaborator

Since semigroups is explicitly a compatibility package at this point (and an extremely widely used one at that), I think it's in our best interest to keep supporting GHC 7.0 and 7.2. Therefore, I'm going to choose this over #94.

@RyanGlScott RyanGlScott merged commit a54abc7 into ekmett:master May 10, 2019
@phadej phadej deleted the ghc-7.0 branch May 10, 2019 15:47
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.

None yet

2 participants