bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32803: 26.1.50; cl-do: Add more literature in docstring


From: Eric Abrahamsen
Subject: bug#32803: 26.1.50; cl-do: Add more literature in docstring
Date: Mon, 24 Sep 2018 10:53:04 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Cc: Eli Zaretskii <eliz@gnu.org>,  32803@debbugs.gnu.org
>> Date: Mon, 24 Sep 2018 09:43:49 -0700
>> 
>> > +Then, in each iteration of the loop, the END-TEST is evaluated; if true,
>>          ^^^^^^^
>> 
>> >From the peanut gallery: Without looking at the code, I'm not sure if
>> this means the test is evaluated *before* BODY (ie, BODY may never run),
>> or *after* BODY (ie, BODY always runs at least once).
>
> You've removed the answer to that question.  The full text says:
>
>                                                           Then, in each
>      iteration of the loop, the END-TEST is evaluated; if true, the loop
>      is finished.  Otherwise, the body FORMS are evaluated, then each
>      VAR is set to the associated STEP expression [...]
>
> which clearly tells that the test is done _before_ the BODY is run.
> Right?

I guess you're right, yes. "In" still seems unnecessarily vague, though,
when it could simply be replaced with "before". But not that big a deal,
I guess.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]