Of what use is 'lambda'???

Erik Max Francis max at alcyone.com
Tue Sep 19 02:08:33 EDT 2000


tye4 wrote:

> The lambda definition is limited to only one expression, and
> everything
> you do with lambda, can also be done with plain functions.

Indeed.  It's just a matter of convenience; often it is useful to have
brief, anonymous functions.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ The critical period in matrimony is breakfast-time.
\__/ A.P. Herbert
    Fat Boy and Little Man / http://www.fatboyandlittleman.com/
 Watch Fat Boy and Little Man go about their antics.



More information about the Python-list mailing list