Let-expressions

Terry Reedy tjreedy at udel.edu
Fri Apr 3 19:18:23 EDT 2009


sloisel wrote:
> Dear All,
> 
> I searched this group and found that there have been discussions about
> introducing a let expression to the language so that you can define
> local variables in a lambda. I.e., something like f=lambda x: let
> y=x^2 in sin(y). (My syntax is unpythonic, but I hope you get it).
> 
> Can someone tell me what eventually happened?

The discussions ended.
Proposals for assignment expressions have been rejected.




More information about the Python-list mailing list