3 ms·
Lots of typeclasses have associated "laws" that well-behaved instances are expected to abide by.
by dllthomas 13y ago
Lots of typeclasses have associated "laws" that well-behaved instances are expected to abide by.
- laureny 13y agoBut these are not enforceable by the type system (at least in Haskell), kind of supporting my point that types alone are rarely sufficient :)