Expression closures - use-cases for shortcut lambda syntax (blocks)

Dave Herman dherman at ccs.neu.edu
Thu Mar 15 20:50:48 PDT 2007


Also, DrScheme has a keybinding that allows you to type Ctrl-\ and it 
inserts a lambda, which might make a nice tie-in between the two 
different syntaxes.

Dave

Brendan Eich wrote:
> On Mar 15, 2007, at 6:35 PM, Jon Zeppieri wrote:
> 
>> On 3/15/07, Brendan Eich <brendan at mozilla.org> wrote:
>>> I am warming up to this use of backslash. What do others think?
>>
>> +1
>>
>>> Syntax matters, it's the user interface. It is not too late, but it
>>> is late. We should discuss pros and cons here in a thread.
>>
>> PLT Scheme allows λ for 'lambda'.  JS could allow λ for 'function' and
>> backslash as a poor-man's λ.  I know it's lame to add two synonyms for
>> function, but it's also lame to use backslash explicitly as a
>> lambda-lookalike in a language that already accepts lambdas in
>> identifier syntax.
> 
> My Unicode implant is on back-order -- what code point is that? Any clue 
> on how to type it on my Macbook Pro? Thanks,
> 
> /be
> 
> 
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss




More information about the Es4-discuss mailing list