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

From: John Cowan <cowan>
Date: Sun Mar 11 23:45:55 2007

Abdulaziz Ghuloum scripsit:

> On Mar 11, 2007, at 10:43 AM, Michael Sperber wrote:
> >This is mainly an attempt to stimulate discussion: Given that `when'
> >and `unless' offer little advantage over just using `if',
>
> I agree with Kent that this is not "given" at all.

+1. (I was hoping that there would turn out to be a connection
between 'if' (earlier form 'gif') and 'given', but no such luck.)

> But I agree that "when" and "unless" should not be in their own
> library, but instead be merged into the r6rs base library.

+1, and I'd like to see the trivial iterators "while" and "until" added
as well.

(More speculatively: how about the general Dijkstra-style iterator
corresponding to "cond", which executes each guarded clause in turn
repeatedly until one of the guards returns false?)

-- 
Normally I can handle panic attacks on my own;   John Cowan <cowan_at_ccil.org>
but panic is, at the moment, a way of life.      http://www.ccil.org/~cowan
Received on Sun Mar 11 2007 - 23:45:49 UTC

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