Message to Maximilian: please post your replies to the newsgroup, so that everyone can see it. Cheers.

Now back to the question:

Does that imply that lists are a special form of a tuple in Oz - a tuple with a null in the last cell? Pretty nifty if that is the case!

Yes, a list is defined by its structure. And it is a user definition. Actually the programmer interprets that structure as a list. Mozart itself does not really know about lists. It is no different from using tuples for representing trees. The programmer sees a tree, but Mozart only sees tuples.

Cheers,
raph

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to