PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...

Alexander Schmolck a.schmolck at gmx.net
Tue Mar 4 08:53:01 EST 2003


Erik Max Francis <max at alcyone.com> writes:

> But that wouldn't be any different than the explicit for loop form:
> 
> 	SOME_GLOBAL_CONST = []
> 	for x, y in SOME_OTHER_GLOBAL_CONST:
> 	    SOME_GLOBAL_CONST.append((y**2, x**2))
> 	del x, y # you could do without this

Of course not, but then nobody claimed that anyone who likes FP and Haskell
also necessarily has to like for loops.

alex




More information about the Python-list mailing list