Re: [Scheme-reports] when and unless
Pierpaolo Bernardi 24 May 2011 09:00 UTC
On Tue, May 24, 2011 at 10:48, leppie <xacc.ide@gmail.com> wrote:
> On Tue, May 24, 2011 at 10:25 AM, Pierpaolo Bernardi
> <olopierpa@gmail.com> wrote:
>
>> I use them, sometimes, when rewriting in scheme an algorithm
>> written in imperative style in a foreign language. For example,
>> when taking an algorithm from a book.
>>
>> Sometimes it's worth the time to translate the code in good style,
>> and sometimes the time is missing. Luckily, with scheme we have
>> the choice.
>>
>> Nevertheless, I'd prefer not to have these macros in the standard.
>> And I'd strongly prefer not to have them in WG1 scheme.
>
> There are good reasons to use UNLESS and WHEN, especially in terms of
> error checking.
The text written by me that you quote refers to WHILE and UNTIL macros,
not to WHEN and UNLESS, about which I agree with you, and it seems also
with everyone else which has expressed an opinion.
Cheers
P.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports