M.-A. Lemburg <mal@lemburg.com>: > I believe the above would cause much less confusion since > it resembles standard Python "for" loop notation (making it > intuitive for Python programmers) and is in syntax very > similar to what "lambda" uses: > > lambda <vars>: <evaluated expr> > > List comprehension would then become something like: > > [for <vars> in <expr>: <evaluated expr>] I agree with this proposal. It harmonizes well with the use of applicative or functional notation. -- <a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a> To make inexpensive guns impossible to get is to say that you're putting a money test on getting a gun. It's racism in its worst form. -- Roy Innis, president of the Congress of Racial Equality (CORE), 1988
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