[Python-ideas] pep 312 - implicit lambdas idea

Paul Moore p.f.moore at gmail.com
Thu Aug 20 16:02:28 CEST 2009


2009/8/8 Greg Ewing <greg.ewing at canterbury.ac.nz>:
> My suggestion for a lightweight lambda syntax is
>
>  args -> expr
>
> Examples:
>
>  map(x -> x + 5, something)
>
>  d = defauldict(->[])

+1

Paul.



More information about the Python-ideas mailing list