-
Notifications
You must be signed in to change notification settings - Fork 36
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
Widen support to GHC-7.4...GHC-8.8 #74
Conversation
There is breakage due Monad without fail.
See quchen/prettyprinter#74 for a motivation
Looks like travis is disabled for this and quchen/pgp-wordlist#3 |
I certainly appreciate the work that goes into PRs like this. Do note that if your eventual goal is to get |
In fact, it’s simple-ish to extend support back to 7.0 too; one would need to make defaults/Generics optional. Or use generic-deriving.
I’m happy to walk that path.
Having wide GHC support is a ”there are no type system magic” indicator. Which I value for basic libs, like pretty printing. OTOH it cames with some CPP cost; but not terrible.
With haskell-ci it will be easy to setup CI even in that case.
… On 6 May 2019, at 14.07, Ryan Scott ***@***.***> wrote:
I certainly appreciate the work that goes into PRs like this. Do note that if your eventual goal is to get criterion to use prettyprinter, the real challenge is going to be optparse-applicative (on top of which criterion builds its pretty-printed CLI --help output), which supports all the way back to GHC 7.0. (See also pcapriotti/optparse-applicative#273).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
ping @quchen |
PGP-Wordlist is only a test dependency, and not an important one at that. I think it can easily be removed. |
MONAD_NO_FAIL
fixprettyprinter
intrifecta
andcriterion
, and it would be nice to keep support for older GHCs (especially forcriterion
). In this case the price is not that big.LambdaCase
AutoDeriveTypeable
->DataDeriveTypeable
pgp-wordlist
isbase >=4.6
(notbase >= 4.5
), but with--allow-older=pgp-wordlist:base
it compiles fine.There are few follow-ups which I'd like to do:
pgp-wordlist
support to GHC-7.4 too (should be simple)haskell-ci
for CI, so we can test old GHCs (and new!)criterion
would depend onprettyprint
there would be nasty package loop. Similar thing is done in e.g. Convert to cabal.project haskell/containers#626cc @RyanGlScott