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/2004-March/043484.html below:

[Python-Dev] generator expression syntax

[Python-Dev] generator expression syntax [Python-Dev] generator expression syntaxGreg Ewing greg at cosc.canterbury.ac.nz
Wed Mar 24 18:53:00 EST 2004
Gareth McCaughan <gmccaughan at synaptics-uk.com>:

> It's not clear to me that lambdas are any more obviously a special
> construct than generator expressions.

If the absence of lambda is considered to make it look too
straightforward, we could always introduce a new mysterious-looking
keyword, and even throw in a colon for good measure...

  g = (gamma: x*x for x in stuff)

:-)

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list

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