Closed drsooch closed 2 years ago
Do you want <9.3 compatibility?
Yes.
Historically I have done this with CPP for all bar the actual ExactPrint.hs AST part. See https://github.com/alanz/ghc-exactprint/tree/b6b75027811fa4c336b34122a7a7b1a8df462563 and https://github.com/alanz/ghc-exactprint/blob/b6b75027811fa4c336b34122a7a7b1a8df462563/ghc-exactprint.cabal#L130-L151
I am also starting to take a look at this now.
I have merged your branch into mine at https://github.com/alanz/ghc-exactprint/tree/ghc-head, and set up the multi-src infrastructure.
Roger that, I gave it my best shot. Realized quickly I was out of depth. Closing.
@drsooch thanks for the leg up on this.
First Draft of changes for 9.3 (I've deliberately left out the
Language/Haskell/ExactPrint/ExactPrint.hs
module for now.Do you want <9.3 compatibility?