We've talked about V~ for (V|undefined). It would have a few uses in  
the RI, but not enough to close the deal.

/be

On Mar 3, 2008, at 5:48 AM, Lars Hansen wrote:

>> -----Original Message-----
>> From: P T Withington [mailto:[EMAIL PROTECTED] On Behalf Of
>> P T Withington
>> Sent: 3. mars 2008 13:47
>> To: Lars Hansen
>> Cc: Waldemar Horwat; es4-discuss@mozilla.org
>> Subject: Re: ES4 draft: Map
>>
>> On 2008-03-03, at 02:26 EST, Lars Hansen wrote:
>>
>>>  function get(key:K, default:(V|undefined)=undefined):(V|
>>> undefined) ...
>>
>> If V? is shorthand for (V|null), what is the shorthand for
>> (V|null| undefined)?  Perhaps [EMAIL PROTECTED]  Well, at least that
>> expresses how I feel about a language with 'two nulls'.  :P
>
> There is no shorthand for (V|null|undefined), though if V is
> a nullable type then (V|undefined) works just as well.
>
> --lars
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss

_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to