[Haskell-cafe] Pretty Print, text or ++?
Paul Keir
pkeir at dcs.gla.ac.uk
Fri Aug 15 09:11:58 EDT 2008
Hi there,
I'm writing a pretty printer using the Text.PrettyPrint library, and there's a pattern I'm coming across quite often. Does anyone know whether,
text (a ++ b ++ c ++ d)
or
text a <+> text b <+> text c <+> text d
runs quicker?
Cheers,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080815/f1ec713c/attachment-0001.htm
More information about the Haskell-Cafe
mailing list