Looping on more than one list

Ben Wolfson rumjuggler at cryptarchy.org
Sun Jul 23 01:07:57 EDT 2000


On Sun, 23 Jul 2000 03:04:13 GMT, Courageous <jkraska1 at san.rr.com> wrote:

>
>> Not currently.  Look at all the threads about zip(), marry(), braid(),
>> etc.
>
>Perhaps this should be folded into the map function?
>Ala, lisp:
>
>(map nil #'(lambda (i j) ...) list-one list-two)

Right now, map(None, ...) will do what the proposed zip() function does,
but zip() will be lazy, as is my understanding.

-- 
Barnabas T. Rumjuggler

Hey, does anyone remember when Matt McIrvin was talking about how he
remembered the day when he read something about someone reminiscing about
Frank Zappa talking about when nostalgia was better than it had become?
That was really cool, far better than this degenerate age.
 -- jmbay, in ark



More information about the Python-list mailing list