OK, forget that. You could still produce left-hand sides...

On Mar 3, 2012, at 17:57 , Axel Rauschmayer wrote:

>> Speaking of compositions though, I can't recall if it was ever discussed 
>> whether this operator can be chained, and if so, whether it associates. I 
>> don't see too much value in this since references to any intermediate 
>> constructions would only be available by walking the proto chain. I can't 
>> think of a great use case, just curious if it's been considered and/or 
>> rejected?
> 
> If it was chainable you could use it to do poor man’s mixins. But the 
> requirement that the rhs be an object literal prevents chaining. Otherwise, 
> you would have to define some kind of clone operation for intermediate lhs 
> operands.
> 
> 
> -- 
> Dr. Axel Rauschmayer
> [email protected]
> 
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
> 

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to