-----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] allb...@kf8nh.com system administrator [openafs,heimdal,too many hats] allb...@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----- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe