<br><br><div class="gmail_quote">On Mon, Apr 28, 2008 at 11:33 PM, Luke Palmer &lt;<a href="mailto:lrpalmer@gmail.com">lrpalmer@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
To answer your other question, no, there is no list show hack.</blockquote><div><br>Perhaps hack was a strong word.&nbsp; I&#39;m not referring to type synonyms, but to the fact that Prelude&#39;s show class happens to have a special show function for lists, which happens to be handy when writing an instance for Show Char.&nbsp; I find the coupling here (between Show and a particular instance of Show, namely Show Char) to be disturbing -- Show should not (if you ask me) contain special machinery for specific instances.&nbsp; Not that I&#39;ll lose sleep over it, and of course the benefit (having pretty strings) far outweighs the philosophical cost.<br>
<br></div></div>The showList function has always struck me as a bit of a wart though.<br><br>cheers,<br>Fraser.<br><br>