alanz/ghc-exactprint

GHC version of haskell-src-exts exactPrint

73

stars

1,734

commits

Haskell

primary language

Sep 10, 2026

updated

ghc
haskell

README

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

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

Contributors

alanz

1,280 commits

mpickering

424 commits

zliu41

6 commits

drsooch

4 commits

alanz/ghc-exactprint

GHC version of haskell-src-exts exactPrint

73

stars

1,734

commits

Haskell

primary language

Sep 10, 2026

updated

ghc
haskell

README

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

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

Contributors

alanz

1,280 commits

mpickering

424 commits

zliu41

6 commits

drsooch

4 commits

Languages

Haskell

98.7%