Show instance for SrcSpan

Matthias Fischmann mf at
Mon Oct 6 13:16:46 UTC 2014

On Mon, Oct 06, 2014 at 02:59:03PM +0200, Alan & Kim Zimmerman wrote:
> Date: Mon, 6 Oct 2014 14:59:03 +0200
> From: Alan & Kim Zimmerman <alan.zimm at>
> To: "ghc-devs at" <ghc-devs at>
> Subject: Show instance for SrcSpan
> Is there any reason I can't put in a diff request to replace the derived
> Show instance for SrcSpan with a handcrafted one that does not exhausively
> list the constructors, making it more readable?
> Alan

I like the notion that `Read . Show` should always work.  Dropping
parts of a datatype would break that rule.


More information about the ghc-devs mailing list