
18 Mar
2017
18 Mar
'17
4:13 p.m.
On March 18, 2017 9:03:48 AM EDT, Tom Sydney Kerckhove
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.