Operator redefinition
Vasile V. Alaiba
alaiba at mail.dntis.ro
Wed Feb 20 03:48:31 CET 2002
Hello,
Is there any way to redefine operators in oz? How can I create, for example
an abstraction called Complex, and reason with it in terms of '+', '-', etc.
?
ex:
A = {NewComplex 1 0}
B = {NewComplex 1 2}
C = A + B % is this possible?
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