Operator overloading revisited

Mark S. Miller erights at google.com
Tue Jun 30 16:18:31 PDT 2009


On Tue, Jun 30, 2009 at 1:51 PM, Christian Plesner Hansen <
christian.plesner.hansen at gmail.com> wrote:

> > Whether it should be extended to non-operator methods is something else
> we
> > can debate, or defer. I claim there's nothing special about operators,
> and
> > given other numeric types one might very well want atan2 multimethods.
>
> I did briefly consider listing "generalizes to full multimethods" as
> one of the advantages but decided not to because I wasn't sure if
> that's a good or a bad thing...


Do have a look at Cecil. Multimethods probably can't get much better than
that.


-- 
   Cheers,
   --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090630/e5a7001f/attachment-0001.html>


More information about the es-discuss mailing list