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

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

Re: Precedence of for clauses in cl-loop


From: Udyant Wig
Subject: Re: Precedence of for clauses in cl-loop
Date: Sat, 8 Sep 2018 20:11:35 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

On 9/8/18 7:07 AM, Noam Postavsky wrote:
> Hmm, I wasn't aware of this, but it seems to be on purpose,
> https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node239.html says:
>
>     All variables are initialized first, regardless of where the
> establishing clauses appear in the source. The order of initialization
> follows the order of these clauses.
>

Indeed.  The Common Lisp Standard concurs:

<URL:http://www.lispworks.com/documentation/HyperSpec/Body/06_aaf.htm>

The phrasing is identical there.

Udyant Wig
-- 
We make our discoveries through our mistakes: we watch one another's
success: and where there is freedom to experiment there is hope to
improve.
                                -- Arthur Quiller-Couch



reply via email to

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