AndrevanTonder scripsit:
> I do not personally like one-armed IF, but let me point out that AND/OR
> can also be used instead of WHEN/UNLESS.
"when" and "unless", however, nicely discard all values except the value
of the guard, which is not true of "and" or "or". (when p a b) evaluates
b iff it evaluates a, regardless of the value of a; not so for (or p a b).
--
Do what you will, John Cowan
this Life's a Fiction cowan_at_ccil.org
And is made up of http://www.ccil.org/~cowan
Contradiction. --William Blake
Received on Tue Mar 13 2007 - 13:47:54 UTC