-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add support for bytestring 0.11 #256
Conversation
Until |
ad1bfda
to
03ec486
Compare
Ping @bgamari, @thoughtpolice! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
If you don't mind, I'll separate this out a bit:
- separating the bytestring version relaxation patch from the travis changes as a separate patch
- dropping the patch that drops support for older ghc versions (it's not terrible to drop support, but it doesn't need to be bundled in this PR)
03ec486
to
005fbe3
Compare
Since cborg uses the internal PS constructor which is a bundled pattern synonym in bytestring >= 0.11, we stick to bytestring < 0.11 for GHC < 8.0 where bundled pattern synonyms aren't supported.
005fbe3
to
87924d9
Compare
Thanks for the suggestion @dcoutts. I've much simplified the patch by disallowing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that's much better! Thanks!
http://hackage.haskell.org/package/bytestring-0.11.0.0/changelog
Since cborg uses the internal PS constructor which is a bundled pattern
synonym in bytestring >= 0.11, we stick to bytestring < 0.11 for
GHC < 8.0 where bundled pattern synonyms aren't supported.