Existential Operator / Null Propagation Operator

Christoph Pojer christoph.pojer at gmail.com
Mon Apr 6 23:13:32 UTC 2015


So I take it most would prefer this as a prefix operator. What would
be the next steps involved to iterate on this idea?

On Mon, Apr 6, 2015 at 3:35 PM, Brendan Eich <brendan at mozilla.org> wrote:
> Yeah, and it would line up with cover grammar needed for
> refutable-by-default patterns.
>
> /be
>
> Matthew Robb wrote:
>>
>>
>> On Mon, Apr 6, 2015 at 5:42 PM, Brendan Eich <brendan at mozilla.org
>> <mailto:brendan at mozilla.org>> wrote:
>>
>>     Did you keep backward compatibility? `x?.1:y` must continue to work.
>>
>>
>> This is why I suggested a leading operator (`?a.?b()`) because it seems
>> like it would have the least potential for conflict with existing valid
>> syntax
>>
>>
>>
>> - Matthew Robb
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss



-- 
Christoph Pojer
http://cpojer.net


More information about the es-discuss mailing list