[Haskell-cafe] commutativity
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Mon Nov 1 12:54:28 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/30/10 06:55 , Patrick Browne wrote:
> -- Question 1
> -- commutative com 1 3
> -- This also gives true. Is it because of commutative equation or
> because of the plus operation?
Haskell doesn't know about commutativity; you got true because (+) happens
to be commutative. There was a discussion about this recently on the list.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzO8MMACgkQIn7hlCsL25XC2ACgulNd5A+Gf33lplW3HOmhPLlZ
u3EAoMsrbEkMQuU1yR/VaG5XqvNdhS5+
=jMQe
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list