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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Conal Elliott
Sent:
Friday, April 08, 2005 3:54 PM
To: [email protected]
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

_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to