A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006341.html below:

[Python-Dev] List comprehensions

[Python-Dev] List comprehensions [Python-Dev] List comprehensionsPaul 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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4