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/2005-June/054365.html below:

[Python-Dev] Recommend accepting PEP 312 -- Simple Implicit Lambda

[Python-Dev] Recommend accepting PEP 312 -- Simple Implicit Lambda [Python-Dev] Recommend accepting PEP 312 -- Simple Implicit LambdaReinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Sun Jun 19 14:44:32 CEST 2005
Kay Schluehr wrote:

> Reduction provides often the advantage to make expressions/statements 
> scriptable what they are not in Python. Python is strong in scripting 
> classes/objects ( a big plus of the language ) but you can't simply use 
> the language to prove that
> 
>                 lambda x,y: x+y*y
>                 lambda x,y: y**2+x
> 
> are essentialy the same functions with different implementations [1].

Except that they are not. Think of __pow__, think of __add__ and __radd__.

Reinhold


-- 
Mail address is perfectly valid!

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