facebookincubator / retrie

Retrie is a powerful, easy-to-use codemodding tool for Haskell.
MIT License
502 stars 30 forks source link

GHC 9.0.1 Unsupported #25

Closed selkie-diligent closed 3 years ago

selkie-diligent commented 3 years ago

Retrie does not build under GHC 9.0.1 and base 4.15. Please add support for GHC Version 9.0.1.

pepeiborra commented 3 years ago

Would you care to submit a PR? I would be happy to review and merge it, as long as it preserves backwards compatibility with GHC 8.8 and newer

xich commented 3 years ago

Just a heads up. I'm working on GHC 9 support currently.

anka-213 commented 3 years ago

@xich Is your progress so far publicly available somewhere? I'm working on getting ghc9 support for haskell-language-server and this is an important dependency.

xich commented 3 years ago

@anka-213 I pushed my progress to https://github.com/xich/retrie/commit/06f8cdfc5de4b488e8b4a09c9201172e7e4c45ae

It's pretty close at this point. It's mostly a mechanical process of matching changes to the AST data types.

I could probably get it over the line tonight if it's blocking you. (I'm still on parental leave for another week, so have just been chipping away at this before bed each night.)

anka-213 commented 3 years ago

Sweet! No rush, I still have other things I can work on before it. I mostly just wanted to know the progress. 😃