Re: INITIALLY clauses in loop
From: Peter Seibel (peter_at_javamonkey.com)
Date: 11/15/04
- Next message: Pascal Costanza: "Re: macros, lexical scope, and around methods"
- Previous message: Pascal Costanza: "Re: macros, lexical scope, and around methods"
- In reply to: Kalle Olavi Niemitalo: "Re: INITIALLY clauses in loop"
- Next in thread: Yuji Minejima: "Re: INITIALLY clauses in loop"
- Reply: Yuji Minejima: "Re: INITIALLY clauses in loop"
- Reply: Björn Lindberg: "Re: INITIALLY clauses in loop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Nov 2004 22:58:39 GMT
Kalle Olavi Niemitalo <kon@iki.fi> writes:
> Peter Seibel <peter@javamonkey.com> writes:
>
>> The new behavior seems right. From "6.1.1.6 Order of Execution":
>>
>> The following actions are exceptions to the linear order of
>> execution:
>
> Would it be reasonable to signal a STYLE-WARNING when the exceptions occur?
Uh, I don't think so. Because they *have* to appear out of order. That
is, INITALLY clauses, if any, have to appear textually before FOR
clauses, if any, at least according to the grammar in the LOOP
dictionary entry. Then 6.1.1.6 requires--as I read it--that the
variable initializations of the FOR clauses happen before the code in
the INITALLY clauses even though the stepping code corresponding to
the FOR clauses is obviously going to run after the code from the
INITIALLY clauses.
-Peter
--
Peter Seibel peter@javamonkey.com
Lisp is the red pill. -- John Fraser, comp.lang.lisp
- Next message: Pascal Costanza: "Re: macros, lexical scope, and around methods"
- Previous message: Pascal Costanza: "Re: macros, lexical scope, and around methods"
- In reply to: Kalle Olavi Niemitalo: "Re: INITIALLY clauses in loop"
- Next in thread: Yuji Minejima: "Re: INITIALLY clauses in loop"
- Reply: Yuji Minejima: "Re: INITIALLY clauses in loop"
- Reply: Björn Lindberg: "Re: INITIALLY clauses in loop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|