Allen's lambda syntax proposal
David-Sarah Hopwood
david.hopwood at industrial-designers.co.uk
Mon Dec 1 18:19:11 PST 2008
Breton Slivka wrote:
>> Is recursion still desirable in this form. If so, then of the three I like
>>
>> \(a,b,c) {}
>>
>> because you can think of the \ as being an abbreviation of function.
>>
>> \ name(a,b,c) {}
>>
>> Just don't start your function name with u.
Too ambiguous, even with the space.
> well if we're thinking about lambdas as blocks++, then why not
>
> name: {|a,b,c| }
>
> Since we already have labeled blocks.
Because '{|a,b,c| }' is an expression, and labelling an
ExpressionStatement already has a different meaning.
--
David-Sarah Hopwood
More information about the Es-discuss
mailing list