Show instance for SrcSpan
Alan & Kim Zimmerman
alan.zimm at gmail.com
Mon Oct 6 13:15:56 UTC 2014
True, but if you are using GHC generated stuff via the GHC API you
sometimes do not want to have to implement Outputable for all your app
types, when you can auto derive Show which mostly does what you need.
On Mon, Oct 6, 2014 at 3:11 PM, Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>
> On 10/06/2014 01:59 PM, Alan & Kim Zimmerman wrote:
> > 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
> > list the constructors, making it more readable?
> > Alan
> Why? If you're looking for pretty output then you should be changing
> Mateusz K.
> ghc-devs mailing list
> ghc-devs at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs