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

Andreas Fuchs asf at boinkor.net
Fri Feb 16 13:59:04 UTC 2007


Attila Lendvai wrote:
> dear list,
> 
> does anyone have any objections against pushing this:
> 
> Set *list-end-test* to 'endp instead of 'atom, so (iter (for foo :in
> something-non-list)) fails instead of silently exists
> 
> it bit me several times and long ago i've changed it to 'endp on my
> local copy. it did not cause me any headaches with any projects i use,
> but i may be missing some use-cases.
> 
> if nobody speaks up for long enough, i'll push it eventually.

ENDP sounds like a good idea. I was under the impression that
iterate/for/in already failed with improper lists, but if it doesn't
yet, it really should.

Cheers,
-- 
Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs



More information about the iterate-devel mailing list