return-from-lambda viewed as dangerous, good alternatives
Mark Mahieu
markmahieu at googlemail.com
Thu Jan 7 08:38:15 PST 2010
On 7 Jan 2010, at 16:35, Rémi Forax wrote:
> Le 07/01/2010 17:29, Roel Spilker a écrit :
>> Alternatively, you can also use existing keywords without any ambiguity:
>>
>> long return x; // returns from the enclosing method
>> short return y; // returns from the lambda
>>
>> Roel
>>
>
> and long long return, returns from an enclosing lambda ?
>
> Rémi
>
That breaks TCP. And anyway it should be long short return.
;-)
Mark
More information about the lambda-dev
mailing list