-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/2/11 22:01 , Ramy Abdel-Azim wrote: > No need to apologize. Not dumb of you. The mandatory else is unusual. I > don't personally know of any other language that requires an else for every > if.
Haskell's if is an expression, best compared to the ?-: ternary operator in C and Perl or Python's if-else operator instead of to a control structure. - -- brandon s. allbery [linux,solaris,freebsd,perl] allber...@gmail.com system administrator [openafs,heimdal,too many hats] kf8nh -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1LRsQACgkQIn7hlCsL25XSPACfRTlbLfBO6bKmg9EH4RPGSdMx SvoAnjakFqCArV9GRczvi2b1HZ6BZTjO =9Vvo -----END PGP SIGNATURE----- _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell