[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*To*: GJS%MIT-OZ@mit-mc.ARPA, scheme@mit-mc.ARPA*Subject*: Re: flames!*From*: Kent Dybvig <dyb%unc.csnet@csnet-relay.arpa>*Date*: Thu, 28 Mar 85 09:35:09 est

(if (if p q) r s) Could of course be written: (if (if p q #!true) r s) "unless" is a handy special form, in addition to "when": (unless (zero? x) (set! x (/ 1 x))) would have to be written as: (when (not (zero? x)) (set! x (/ 1 x))) or (shudder): (if (not (zero? x)) (set! x (/ 1 x))) It has always bothered me that the "else" part was optional in the one-or-two-armed-if. Why can't the "then" part be optional as well? "when" and "unless" are clean, simple, and unambiguous. They should both be included in the standard.

- Prev by Date:
**Other names for ITERATE** - Next by Date:
**ITERATE, DEFINE and CELLs** - Prev by thread:
**flames!** - Next by thread:
**Scheme names** - Index(es):