<div dir="ltr"><div><div>Not at all, just show as e.g.<br><br></div>  SrcSpan (RealSrcSpan (SrcSpanOneLine "./foo.hs" 4 1 6))<br><br></div>We just avoid showing the srcSpanFile / srcSpanLine / srcSpanSCol / srcSpanECol noise<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 6, 2014 at 3:16 PM, Matthias Fischmann <span dir="ltr"><<a href="mailto:mf@zerobuzz.net" target="_blank">mf@zerobuzz.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Oct 06, 2014 at 02:59:03PM +0200, Alan & Kim Zimmerman wrote:<br>
> Date: Mon, 6 Oct 2014 14:59:03 +0200<br>
> From: Alan & Kim Zimmerman <<a href="mailto:alan.zimm@gmail.com">alan.zimm@gmail.com</a>><br>
> To: "<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>" <<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>><br>
> Subject: Show instance for SrcSpan<br>
<div><div class="h5">><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>I like the notion that `Read . Show` should always work.  Dropping<br>
parts of a datatype would break that rule.<br>
<span class="HOEnZb"><font color="#888888"><br>
matthias<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>