by devit · 5y ago · 0 comments
Here is a correct explanation: https://stackoverflow.com/a/3870310
That's algebra tho, which is very relevant to functional programming (monoids capture the essence of composition) in general, but not the right monoids in category theory.