Lie <[EMAIL PROTECTED]> writes: > Lambda can actually be safely removed from python and no other > features would be missing. It is always possible to create a def > version of any lambda, so lambda is useless. It is just a convenience > for the times where we're just too lazy to invent a name and find a > place to place the def, instead just inlining the function.
Note that the same thing can be said about generator expressions, which are nothing more than anonymous, non-reusable, generator functions. Instead these were _added_ to the language! -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list