[r6rs-discuss] [Formal] Remove the (r6rs when-unless) library

From: John Cowan <cowan>
Date: Tue Mar 13 13:47:59 2007

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

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC