[Python-Dev] List comprehensions

Paul Prescod paul@prescod.net
Wed, 12 Jul 2000 23:26:15 -0500

I want to summarize my feelings on the list-comp syntax issue. There is
no syntax for list comprehensions that will inherently scream "cartesian
product, not parallel". The only way to do it is by analogy to what they
already know: Python.

[for x: if y(x): for z: (x,y,z)]

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