Oz and Mozart Hackers Mailing List

Re: '#'(X,Y)=Z


From: Peter Van Roy (pvr@info.ucl.ac.be)
Date: Wed Jan 16 2002 - 18:25:05 CET


The syntax X,Y for object application is indeed a bit strange.
It is a funny use of comma, which in most languages is an
argument separator.

People with habits from other languages (like Prolog, whose
tuples have commas) often make this mistake at first. Even
now, I sometimes write lists like [1,2,3] when I'm in a hurry.

-- 
Peter Van Roy
Département d'Ingénierie Informatique
(Department of Computing Science and Engineering)
Université catholique de Louvain
B-1348 Louvain-la-Neuve, Belgium

Email: pvr@info.ucl.ac.be Tel: (+32) (10) 47.83.74 Web: http://www.info.ucl.ac.be/people/cvvanroy.html Mozart: http://www.mozart-oz.org - Please send submissions to hackers@mozart-oz.org and administriva mail to hackers-request@mozart-oz.org. The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.