[Haskell] pretty-printing Haskell with automatic parens?

Conal Elliott conal at conal.net
Mon Oct 15 01:32:58 EDT 2007

The haskell-src package contains a pretty-printer for Haskell syntax that
requires parentheses to be explicitly placed in the (abstract) syntax
representation.  I have some code for automatically inserting parentheses
where necessary (for use before pretty-printing), but I'm guessing someone
else has done so better than I.  Does anyone have pointers?  I'm glad to
share my version as well.

Cheers, - Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20071014/2fb3f341/attachment.htm

More information about the Haskell mailing list