<div dir="ltr">Paul,<br><br>Something tells me you might want to look at `concat':<br><br>concat :: [[a]] -> [a]<br><br>/jve<br><br><br><div class="gmail_quote">2008/8/15 Paul Keir <span dir="ltr"><<a href="mailto:pkeir@dcs.gla.ac.uk">pkeir@dcs.gla.ac.uk</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font size="2">Hi there,<br>
<br>
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,<br>
<br>
text (a ++ b ++ c ++ d)<br>
or<br>
text a <+> text b <+> text c <+> text d<br>
<br>
runs quicker?<br>
<br>
Cheers,<br>
Paul<br>
</font>
</p>
</div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>/jve<br>
</div>