22 Jan
2008
22 Jan
'08
11:06 p.m.
Edsko de Vries wrote:
Hi,
Is there a nice way to pretty-print such an expression with the minimal number of brackets? I can come up with something, but I'm sure somebody thought hard about this problem before and came up with a really nice solution :)
Any hints or pointers would be appreciated,
Thanks,
You might find Norman Ramsey's paper on unparsing helpful: http://citeseer.ist.psu.edu/194913.html or google for Norman Ramsey Unparsing regards allan