Skip to content

alanz/ghc-exactprint

Repository files navigation

ghc-exactprint

Available on Hackage License BSD3 Build Status

Github Build Status

GHC version of haskell-src-exts exactPrint

master has been updated to use the new GHC Exact Print Annotations which landed in GHC 9.2

So ghc-exactprint-1.1 and later supports GHC 9.2 and onwards ghc-exactprint-0.6.4 supports GHC from 7.10 to 9.0

Links

HIW 2021 talk on GHC Exactprint for GHC 9.2

HIW 2020 talk on plans for GHC Exactprint for GHC 9.2

Blog Post by @shayne-fletcher on experiences converting to use the new annotations.

Current Limitations

  • Does not process CPP properly
  • Does not process Lhs files properly