Expression closures - use-cases for shortcut lambda syntax (blocks)
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
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?
>>> 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,
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
More information about the Es4-discuss