Operator redefinition

Vasile V. Alaiba alaiba at mail.dntis.ro
Sun Feb 24 10:35:48 CET 2002


>
> > A = {NewComplex 1 0}
> > B = {NewComplex 1 2}
> > C = A + B             % is this possible?
>
> No, Oz does not support overloading or syntactic extensions.  Yes, I
> know, this sucks... but, really, there is already so much syntax in
> Oz; if you add any more, it will undergo gravitational collapse :-)

But if it is really necessary to develop new "sintactic sugar", where one
can start (digging) ?

Thank you,
    Vasile V. Alaiba

-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list