[Haskell-cafe] Documentation [Comments from OCaml Hacker Brian Hurt]

Paul Moore p.f.moore at gmail.com
Fri Jan 16 15:09:16 EST 2009


2009/1/16 Andrew Coppin <andrewcoppin at btinternet.com>:
> Either way, wherever the description gets put, just saying "associativity
> means that (x + y) + z = x + (y + z)" is insufficient. Sure, that's the
> *definition* of what it is, but we should point out that "associativity
> means that the ordering of the operations does not affect the result" or
> something. Something that's intuitive. (The tricky part, of course, is
> explaining how associative /= commutative.)

How about "associativity means that how you pair up the operations
does not affect the result"?

Paul.


More information about the Haskell-Cafe mailing list