[Nickle] Polymorphic equality and similar mysticism

Carl Worth cworth at east.isi.edu
Sun May 30 19:55:26 PDT 2004


On Sun, 30 May 2004 17:03:35 -0700, Bart Massey wrote:
>                  The next question with that is whether to
> also consider the return type in the disambiguation.  It
> would sure be nice to have
>    file f = new();
> do something sensible, and different from
>    string f = new();
> but most languages only consider arguments: I'm not sure I
> know why.

Because functions are often called for their side effects and the return
value is ignored?

-Carl




More information about the Nickle mailing list