Update to cabal (3.0) and ghc (9.10) compilation target#100
Update to cabal (3.0) and ghc (9.10) compilation target#100harryprayiv wants to merge 8 commits intomarcosh:mainfrom
Conversation
…qualified internal library syntax, and rewriting the doctest runner to inject the crem-examples package-id directly into evalGhciArgs via runModules.
|
Granular details: 1. Role annotations throughout the library GHC 9.10 infers more conservative roles for type constructors in the presence of type families and GADTs, and with The affected types are:
Each annotation was chosen to match the actual usage: The The 2. Suppression of new warnings introduced in GHC 9.10 The library uses 3. Upper bound relaxations in the cabal file The existing bounds on The 4. Adaptation of the doctest runner to the current doctest-parallel API The The one subtlety is that Testing The full test suite ( |
|
Thanks a lot for this! I'm slowly looking at everything and actually trying to redo it myself to see which options come more naturally. One thing I'd surely like to solve differently is the doctests in the literate Haskell file. I guess I found the issue (see martijnbastiaan/doctest-parallel#101) so it's probably just a matter of time that that gest solved without touching anything in |
No problem at all. Thank YOU. It was an honor to help in whatever way I could.
This is a very wise and respectable course of action as I am by no means an expert in Role annotations or any of the advanced singleton magic you're doing here. |
I finally got DocTests to compile after many changes. TIL, the doctest-parallel module has changed DRASTICALLY!
My goal was to get it working with updated cabal (3.0) and ghc (9.10). Mission accomplished on my machine (where I tend to provision everything with nix).
Please don't hesitate to be brutally honest if I made any unwelcome changes.
Thanks for building this amazingly futuristic module!