-
Notifications
You must be signed in to change notification settings - Fork 139
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
Correct semigroups conditional version bounds #134
Conversation
I don't agree with this commit because I can't reproduce the problem this is supposed to fix, and also because
means, "if GHC is not used, or GHC is used and its version is less than or equal to 8.0" however, there is no official GHC that has the version number "8.0"; it's always a 3-part version, i.e. "8.0.x". whereas
means, "if GHC is used, and its version is smaller than 8.0", which is quite different semantically. PS/EDIT: That being said, it's always suspicious if |
@hvr, I apologize, it appears I didn't understand how That being said, that behavior is quite unintuitive to me—I would expect Your point about |
This reverts commit 1445edd. This is wholly unnecessary, since the version number `8.0` is less than `8.0.x`, as pointed out in #134 (comment)
You can write intersections of upper and lower bounds of impl versions , or On Wednesday, August 17, 2016, Ryan Scott notifications@github.com wrote:
|
Right, that's what's interesting about |
Oh. I do the and outside the impl() On Wednesday, August 17, 2016, Ryan Scott notifications@github.com wrote:
|
@RyanGlScott it's not so obvious, and it may be a good idea to write that one down in the cabal docs (you're not the first one to be surprised about it) IMO: PS: no need to apologize! |
Data.Semigroup
was introduced inbase-4.9
(GHC 8.0), butimpl
flag was causingvector
to depend on thesemigroups
library even when GHC 8.0 was being used. This fixes it so thatvector
doesn't depend onsemigroups
for GHC 8.0.