<div dir="ltr">Aside: I really miss derived Show instances in GHC. The Outputable class is only really useful if you already know how things work. If you e.g. want to see the AST used to represent some piece of Haskell code, in all its glory, the Outputable instances aren't useful because they elide too much information.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 6, 2014 at 3:11 PM, Mateusz Kowalczyk <span dir="ltr"><<a href="mailto:fuuzetsu@fuuzetsu.co.uk" target="_blank">fuuzetsu@fuuzetsu.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 10/06/2014 01:59 PM, Alan & Kim Zimmerman wrote:<br>
> Is there any reason I can't put in a diff request to replace the derived<br>
> Show instance for SrcSpan with a handcrafted one that does not exhausively<br>
> list the constructors, making it more readable?<br>
><br>
> Alan<br>
><br>
<br>
</div></div>Why? If you're looking for pretty output then you should be changing<br>
Outputable.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Mateusz K.<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</font></span></blockquote></div><br></div>