[Haskell] pretty printing Haskell code with auto parens?

Conal Elliott conal at conal.net
Tue Apr 12 21:33:13 EDT 2005


No reply yet.
 
Alternatively, does anyone happen to have a HsExp->HsExp (for
Language.Haskell.Syntax) pass that inserts disambiguating parentheses as
needed, to be applied just before pretty-printing?
 
Cheers,
 
- Conal
 
-----Original Message-----
From: haskell-bounces at haskell.org [mailto:haskell-bounces at haskell.org]
On Behalf Of Conal Elliott
Sent: Friday, April 08, 2005 3:54 PM
To: haskell at haskell.org
Subject: [Haskell] pretty printing Haskell code with auto parens?
 
What pretty printers are available for Haskell code (not necessarily
complete) that handle automatic insertion of minimally required
parentheses?  I assumed that Language.Haskell.Pretty did that, but
apparently it relies on manual insertion of parentheses in the abstract
syntax.
 
Thanks,  - Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell/attachments/20050412/baaab319/attachment.htm


More information about the Haskell mailing list