Allen's lambda syntax proposal
brendan at mozilla.com
Wed Dec 3 15:33:55 PST 2008
First, let expressions as implemented in JS1.7 are ambiguous in a
bottom up grammar. See
Second, let statements and expressions in JS1.7 are evaluated when
reached. They are not implicitly quoted for later application.
Third, let is the wrong keyword if there's no need to bind a name --
as there indeed is no need with many (most?) lambda use-cases.
On Dec 3, 2008, at 3:26 PM, Breton Slivka wrote:
> On Thu, Dec 4, 2008 at 9:28 AM, Michael <Michael at lanex.com> wrote:
>> This may be a stupid question, but is the current let expression
>> sought out
>> lambda expression to be repurposed? Or would this wreak havoc on
> I had kind of a similar thought about let statements. Would it be
> possible to simply turn a let statement into an assignable/callable
> value? Would that just break too many things? would it get us at least
> close to the lambda functionality we seek?
> Es-discuss mailing list
> Es-discuss at mozilla.org
More information about the Es-discuss