Pretty printing of Haskell-Tools AST https://github.com/haskell-tools/haskell-tools

Latest on Hackage:

See all snapshots haskell-tools-prettyprint appears in

BSD-3-Clause licensed by Boldizsar Nemeth
Maintained by nboldi@elte.hu

Module documentation for

This version can be pinned in stack with:haskell-tools-prettyprint-,2110

Converts the Haskell-Tools AST to text. Prepares the AST for this conversion. If the AST was created from the GHC AST this pretty printing will result in the original source code. Generated AST parts will get the default formatting. Works using the source annotations that are present in the AST. Creates a rose tree first to simplify the conversion.