8 ms·
Agreed in general, but equality is so fundamental that I could forgive any built-in support. Even Haskell has "deriving Eq" built-in for example.
by willtim 9y ago
Agreed in general, but equality is so fundamental that I could forgive any built-in support. Even Haskell has "deriving Eq" built-in for example.
- tel 9y agoThat said the deriving mechanisms have been mostly exposed to the end used now in at least a few different ways. Even more importantly, deriving doesn't change the semantics of the language. You could in principle do exactly the same things without deriving as you can with.