<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 8, 2013 at 9:39 AM, Simon Peyton-Jones <span dir="ltr">&lt;<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">





<div lang="EN-GB" vlink="purple" link="blue">
<div><div class="im">
<p>What I would like to see is something like:<u></u><u></u></p>
<p><span style="font-family:&quot;Courier New&quot;">HsApp (HsApp (HsApp (HsVar &quot;foldl&#39;&quot;) (HsVar &quot;+&quot;)) (HsLit 0)) (HsVar &quot;xs&quot;)</span><u></u><u></u></p>
<p><span style="color:rgb(31,73,125);font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:11pt">We could derive ‘Show’ on everything but that would generate a LOT of new code, that would seldom be used.  Also ‘Show’ doesn’t pretty-print so the result would
 be illegible. <u></u><u></u></span></p></div>
<p><span style="color:rgb(31,73,125);font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u></span></p></div></div></blockquote><div><div>If plugins could be used before the conversion to Core, such a plugin might be a tidy way to workaround the issue of bloating GHC&#39;s binary size with all that Show code.</div>

<div> </div><div>This previous email thread <a href="http://www.haskell.org/pipermail/glasgow-haskell-users/2012-March/022076.html"><font color="#0066cc">http://www.haskell.org/pipermail/glasgow-haskell-users/2012-March/022076.html</font></a> seems relevant, and Marlow&#39;s comment there makes it sound like a pretty easy change.</div>

</div></div></div></div>