<div dir="ltr"><div>I have been running a branch in !2418[1] for just over a year to migrate the ghc-exactprint functionality directly into the GHC AST[2], and I am now satisfied that it is able to provide all the same functionality as the original.</div><div><br></div><div>This is one of the features intended for the impending 9.2.1 release, and it needs to be reviewed to be able to land.  But the change is huge, as it mechanically affects most files that interact with the GHC AST.</div><div><br></div><div>So I have split out a precursor !5158 [3] with just the new types that are used to represent the annotations, so it can be a focal point for discussion.</div><div><br></div><div>It is ready for review, please comment if you have time and interest.</div><div><br></div><div>Regards</div><div>  Alan</div><div><br></div><div>[1] <a href="https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2418" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2418</a></div><div>[2] <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/17638">https://gitlab.haskell.org/ghc/ghc/-/issues/17638</a></div><div>[3] <a href="https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5158" target="_blank">https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5158</a></div></div>