[Python-Dev] any support for a methodcaller HOF? (original) (raw)

Fredrik Lundh fredrik at pythonware.com
Sun Feb 5 20:02:39 CET 2006


Terry Reedy wrote:

If 3.0 comes with a conversion program, then I would like to see 'lambda' replaced with either 'def' or another abbreviation like 'edef' (expression def) or 'func'.

making the implied return statment visible might also be a good idea, e.g.

lambda x, y: return x + y

or even

def (x, y): return x + y


More information about the Python-Dev mailing list