Of what use is 'lambda'???
aleaxit at yahoo.com
Sun Oct 8 23:19:51 CEST 2000
<piet at cs.uu.nl> wrote in message news:ur96g91i4.fsf at cs.uu.nl...
> T> So, does lamda have a feature that regulars funcs have or is just there
> T> for convenience??
> Its main purpose is convenience so that you don't have to invent a name
> to separate your function from the place where you have to supply it as a
Not having to invent a name, OK. But why would you "separate from the
place" anyway, even without lambda? You could define a nested function
right before passing it as a parameter.
More information about the Python-list