lambdak: multi-line lambda implementation in native Python

Marko Rauhamaa marko at pacujo.net
Sat Jan 17 12:07:45 CET 2015


Jussi Piitulainen <jpiitula at ling.helsinki.fi>:

>  a+ b  => 7  # a() + b
>  a +b  => 3  # a(+b)   => a(b) => a(1) = 1 + 2
>
> I'm not quite fond of such surprise in programming language syntax.

Yes, whoever came up with the idea of whitespace having syntactic
significance!


Marko



More information about the Python-list mailing list