Mark's proposal is very close to something I proposed long ago, but was rejected. It has been implemented in Adobe's ExtendScript dialect, with a slight variation (instead of ['reverse+'], a second Boolean argument to the overload implementation indicates reverse operation).
Funny how things keep popping up.
Michael
-----Original Message-----
From:
es-discuss-bounces@... [mailto:
es-discuss-bounces@...] On Behalf Of Ash Berlin
Sent: Tuesday, June 23, 2009 1:51 PM
To: es-discuss
Subject: Re: Why decimal?
On 23 Jun 2009, at 17:59, Brendan Eich wrote:
> On Jun 23, 2009, at 9:28 AM, Ash Berlin wrote:
>
>> I'd rather it was possible to do operator overloading such that
>> decial or
>> what ever else could be implemented natively (in a self hosting JS)
>> but I
>> can also accept that this (operator overloading) is unlikely to
>> happen.
>
> Au contraire, as I noted in reply to Christian -- it's on the
> Harmony agenda:
>
>
http://wiki.ecmascript.org/doku.php?id=strawman:strawman>
> Mark M. took the action to write the spec, he already posted his
> operator proposal to this list, here:
>
>
https://mail.mozilla.org/pipermail/es-discuss/2009-January/008535.html>
> I'm signed up to help Mark (as time allows, definitely in July; new
> baby at home).
>
> /be
Awesome. I noticed that after I'd already send my previous response.
This doesn't get said enough: good work guys.
_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss