On 3/4/06, Chris Rathman <[EMAIL PROTECTED]> wrote:
> 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, but not necessarily in the way you might be thinking. '|' is a
binary operator, so a|b|c|nil is a 2-tuple, containing A and another
2-tuple, which contains b and the 2-tuple c|nil.

Max Wilson

--
Be pretty if you are,
Be witty if you can,
But be cheerful if it kills you.

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

Reply via email to