-
Notifications
You must be signed in to change notification settings - Fork 48
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 tar-0.6, bump CI to GHC 9.4.8, delete old cabal flags #302
Conversation
Seems like some exports have changed in tar-0.6:
|
Ouch. I hope there is some backward compat layer so that we don't need CPP? |
This requires importing constructors independent of their data type (which changed from 0.5 to 0.6), via the `pattern` syntax. Consequently, we drop GHC 7.6 which does not have `PatternSynonyms`.
We can import the constructors via the While we are at it, shall we also drop GHC 7.8 (and the |
Yes, absolutely. Cabal has dropped GHC <8 already. |
Also dropped |
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.
Well done!
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.
We can import the constructors via the
pattern
syntax, so we do not needCPP
butPatternSynonyms
(which I am anyway surprised it is not a default extension of GHC yet). This drops GHC 7.6.
Another, a bit more invasive option would be to make everything qualified: Tar.Done
, Tar.Fail
, etc.
@Bodigrim wrote:
Ah, indeed, thanks for pointing out this alternative! I take this as a comment for future consideration, not as a change request, since you approved and there are formally no unresolved conversations; and because keeping GHC 7 isn't of practical value any more. (If folks turn up screaming "where is my GHC 7.8 support?" we can revise that decision.) |
@Mikolaj I don't have hackage upload rights for these packages. |
Correct. Let’s go! |
@andreasabel: thank you very much, I've added you to maintainers. Please go ahead. :) |
Candidate is here: https://hackage.haskell.org/package/hackage-security-0.6.2.4/candidate |
Yay, even with haddocks. LGTM. |
I fused the first two commits and pushed this to master, see tag |
tar-0.6
PatternSynonyms
base48
,mtl21
,old-directory
and support for GHC 7.8,mtl < 2.2
anddirectory < 1.2