3 ms·
For the use made out for records there was no reason to derive Eq, Ord and Show.
by mhitza 15y ago
For the use made out for records there was no reason to derive Eq, Ord and Show.
- ricree 15y agoOut of curiosity, is there a particular downside to deriving them if the type permits it?
- rbxbx 15y agoI'd imagine you're unnecessarily polluting the type with unused functionality, no? (not sure if this is true, perhaps GHC is smart about it). If nothing else, superfluous derives would seem to distract/obfuscate your intent.