UU-ComputerScience / uuagc

3 stars 9 forks source link

Fix incompatibility with GHC 9.2 and 9.4 #11

Closed FPtje closed 1 year ago

FPtje commented 1 year ago

In a Haskell Meetup somewhere last year, @jbransen and I discussed this wonderful gem. I see that it doesn't have many recent commits, so I'd love to help here and there to keep it up-to-date. One reason for this is that a hobby project of mine heavily relies on this library.

This PR brings UUAGC up to date with GHC 9.2 and GHC 9.4. The individual commits describe the different changes made. Tested with GHC 9.0, 9.2 and 9.4. Also tested with glualint on GHC 9.2.

I would have liked to try and fix it up for GHC 9.6 as well, but there are just way too many dependencies that fail to build. I guess we'll have to wait for that to settle down first :).

If desired, I can fix up and make a PR for a quick Nix flake that I wrote to run these tests.

jbransen commented 1 year ago

Nice, thank you very much!

jbransen commented 1 year ago

This has been published to Hackage now https://hackage.haskell.org/package/uuagc-0.9.54

FPtje commented 1 year ago

Awesome, thanks!