[Python-ideas] pep 312 - implicit lambdas idea

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Aug 8 13:00:15 CEST 2009


Bruce Leban wrote:
> I notice you said "args" not "arg". How would you parse foo(x, y -> x + 
> y)?

Function foo has 2 arguments there.

The other way would be

    foo((x, y) -> x + y)

-- 
Greg



More information about the Python-ideas mailing list