[iterate-devel] Iteration on multiple lists sequentially

William Halliburton whalliburton at gmail.com
Wed May 26 16:20:11 UTC 2010


Hello all,

Does anyone have a generator that allows for iteration on multiple
lists sequentially without creating a single list.

I'm doing this alot:

(iter (for el in (append list1 list2 list3)))

when the APPEND is really not necessary with a sufficiently smart
generator like:

(iter (for el in list then list2 then list3)))

?

Thank you,
Will




More information about the iterate-devel mailing list