permuting several lists (was Re: [Python-Dev] zip() and list-comprehension with commas)

Paul Prescod paul@prescod.net
Wed, 12 Jul 2000 04:29:30 -0500


Peter Funk wrote:
> 
> ...
> 
> +1 on the concept.
> -1 on calling it 'zip' (I was first thinking of Info ZIP and zlib).
> -0 on calling it 'parallel' (makes me thinking of threads and processes).
>
> What about calling this function 'permute()'?

But zip is not permute!

zip( [0,1,2,3,4],[0,10,20,30,40])=[0,11,22,33,44]

Anyhow, I kind of like the names tuples() and lists(), as proposed by
MAL.

-- 
 Paul Prescod - Not encumbered by corporate consensus
Simplicity does not precede complexity, but follows it. 
	- http://www.cs.yale.edu/~perlis-alan/quotes.html