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

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Sun Jun 19 19:33:11 CEST 2005


Kay Schluehr wrote:
> Reinhold Birkenfeld wrote:
> 
>>>
>>>                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__.
> 
> You know the difference between the concept of a function and it's 
> infinitely many representations? That's why formal definitions exist.

I must say that I don't understand what you're after.

Reinhold

-- 
Mail address is perfectly valid!



More information about the Python-Dev mailing list