3 ms·
And type classes force you to override related operators together. (With dependent types that Haskell doesn't have, the relationships between them could even be
by JulianMorrison 17y ago
And type classes force you to override related operators together. (With dependent types that Haskell doesn't have, the relationships between them could even be forced to adhere to mathematical axioms.)
- eru 17y ago> And type classes force you to override related operators together. You can get away with only implementing some of the functions in a typeclass. However you'll get a warning.