Oz and Mozart Hackers Mailing List

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


From: Luis Quesada (luque@info.ucl.ac.be)
Date: Wed Jan 16 2002 - 14:04:18 CET


Leif Kornstaedt wrote:

> X,Y could be an expression *if* Y was a record containing a single
> dollar (which is called a nesting marker). That's what the error
> message tells you.

That's exactly my point: Is it possible to * constraint * Y in such a way that
'#'(X,Y)=Z be a valid statement? I know that Y should be replaced by something like
a($) , but that's beside the point. My point is that '#'(X,Y)=Z is a syntax error
because a variable cannot occur in the position where Y does. Am I wrong?

> Of course, the error message is "unfriendly"
> to the beginning user in that it assumes that you know (1) what
> an object application and a message are and (2) what a nesting
> marker is. You know, don't you? ;-)

Yes I do. However, I must acknowledge that yesterday this message did not help at all
:-)

Luis

--
Catholic University of Louvain
Department of Computing Science and Engineering
Place Sainte Barbe, 2
B-1348 Louvain-la-Neuve, Belgium
Phone:  (++32) (10) 47 90 13
Fax:    (++32) (10) 45 03 45
Web:    http://www.info.ucl.ac.be/~luque

- 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.