Comment by bjourne
2 months ago
No, you can not. Your example is correct only if addition is associative. And it is not always associative. Hence the need for higher abstractions, where you model commutativity and associativity of certain operations.
No comments yet
Contribute on Hacker News ↗