[iterate-devel] generate i initially/first ... then ...

szergling senatorzergling at gmail.com
Sat Jun 13 11:33:25 UTC 2009


Hi all,

Does anyone know why the "for ... initially/first ... then ..."  etc
clauses have no generator equivalents? Refer the documentation, eg

http://common-lisp.net/projects/iterate/doc/Variable-Binding-and-Setting.html#Variable-Binding-and-Setting

Specifically, there's an extra note that

"Also, the for in the above three clauses is misleading, since none is
true driver (e.g. none has a corresponding generate form). setting
would have been a better choice, but for was used to retain some
compatibility with loop."

I cannot see why a generator style cannot be made for them too, given
the simple and direct mapping of such a form to the
'for'/'setting'(whatever) version. Is this a limitation of iterate's
internal macro implementation?

I would appreciate any context or pointers to this issue.

Yong




More information about the iterate-devel mailing list