
On Fri, 2005-09-23 at 14:22 +0200, Anders Höckersten wrote:
foo bar
I argue that (text "" == empty) and that I should be able to use them synonymously. The point I think I'm trying to make is that I have used this pretty printing library for a while now, and I have never had to worry about the precedence of the operators before.
As Simon pointed out the library could use some improvement, but with my current workload this is certainly not something I can do. Another idea would be replacing Text.PrettyPrint.HughesPJ with some other pretty printing library. Some very shallow searching reveals this[1] which seems to be an improvement on what we have today.
Cheers, Anders
There's also a Pretty-Printing library by Olaf Chitil which should is interesting if you need to output a large amount of text. http://www.cs.kent.ac.uk/people/staff/oc/ (look for "Pretty") Axel.