AW: [iterate-devel] *list-end-test*

Hoehle, Joerg-Cyril Joerg-Cyril.Hoehle at t-systems.com
Thu Apr 5 08:55:23 UTC 2007


Hi,

>Actually, there could be somewhat distinct votes
>1. Eliminate or not
>2. FOR IN dotted list: error out (like LOOP) or not 
>(compatible, someone's code may depend on this) -- apparently, 
>that's the issue where opinions diverge.

Thinking a little bit more about the issue, here's yet another proposal:
- keep the *list-end-test* variable with FOR IN only
   - ATOM = compatible
   - ENDP = raise error, like LOOP
   - default value is matter of debate
- unconditionaly use ATOM with FOR ON, so that
(iter (for x on '(1 2 . 3))) works (simultaneously compatible and like LOOP)

"compatible" means with itself, i.e. the last 15 years of Iterate.

Regards,
	Jörg Höhle.



More information about the iterate-devel mailing list