unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Precedence of for clauses in cl-loop
@ 2018-09-06 18:33 Plamen Tanovski
  2018-09-06 22:43 ` Noam Postavsky
  0 siblings, 1 reply; 7+ messages in thread
From: Plamen Tanovski @ 2018-09-06 18:33 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-08 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-06 18:33 Precedence of for clauses in cl-loop Plamen Tanovski
2018-09-06 22:43 ` Noam Postavsky
2018-09-07  7:08   ` Plamen Tanovski
2018-09-07 11:16     ` Noam Postavsky
2018-09-07 12:35       ` Plamen Tanovski
2018-09-08  1:37         ` Noam Postavsky
     [not found]         ` <mailman.511.1536370625.1284.help-gnu-emacs@gnu.org>
2018-09-08 14:41           ` Udyant Wig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).