Allen's lambda syntax proposal
mrbkap at gmail.com
Wed Dec 3 18:30:16 PST 2008
On 12/03/2008 06:18 PM, Maciej Stachowiak wrote:
> On Dec 3, 2008, at 1:23 PM, Peter Michaux wrote:
>> x = x
> I think this has only one possible meaning: an expression statement
> consisting of an assignment of x to itself, followed by an expression
> statement that creates an empty no-argument closure. Do you see another
> possible meaning?
According to the wording in E-262, that's a syntax error, and your
> x = x
Is equivalent to |x = x + x| because, when at the 2nd |x|, the next
token is valid.
More information about the Es-discuss