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

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

Precedence of for clauses in cl-loop


From: Plamen Tanovski
Subject: Precedence of for clauses in cl-loop
Date: Thu, 06 Sep 2018 20:33:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hi,

the CL info states:

    If you include several ‘for’ clauses in a row, they are treated
    sequentially (as if by ‘let*’ and ‘setq’).

but in this simple example

(cl-loop for y = x
         for x in '(1 2)
         for z in '(1 2))


the "for in" clauses are executed before the "for =" clause. Emacs is:

GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.16.7) of
2018-06-08

best regards

-- 
Plamen Tanovski




reply via email to

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