On March 18, 2017 9:03:48 AM EDT, Tom Sydney Kerckhove 
<syd.kerckh...@gmail.com> wrote:

Snip.
>
>My questions for you:
>
>- Is there a reason that there are no derived 'Show' instances for most
>  types?

As Richard mentioned, we don't derive Show due to code size and compilation 
time concerns. Show in particular is rather expensive to derive and seeing as 
we already have Outputable I don't it would make sense to derive it by default. 
I would really like to avoid introducing more CPP into the code base for this 
particular problem.

One alternative which will work in many cases is to simply derive Show yourself 
using StandaloneDeriving. Does this help?

Cheers,

- Ben 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to