Path: news.cs.au.dk!not-for-mail From: nospam2159@cs.au.dk (Peter von der Ahé) Newsgroups: comp.lang.beta Subject: Re: procedure call Date: 19 Jul 1999 19:34:09 +0200 Organization: University of Aarhus, Department of Computer Science (DAIMI) Lines: 39 Message-ID: References: NNTP-Posting-Host: ufleku.cs.au.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: xinwen.cs.au.dk 932405649 5980051 255.255.255.255 (19 Jul 1999 17:34:09 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 19 Jul 1999 17:34:09 GMT X-Attribution: Ahe User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 Xref: news.cs.au.dk comp.lang.beta:12032 >>>>> "YP" == Yoann Padioleau writes: YP> nospam2159@cs.au.dk (Peter von der Ahé) writes: >> None the two program segments you have posted will compile, maybe you >> where thinking of something like this: >> >> (# >> >> A: (# >> attribute : @ text; >> method : (# ... #) >> #) >> do >> 1 -> A.attribute; >> 2 -> A.method (* ??? *) >> #) >> >> vs. >> >> (# >> >> A: @(# >> attribute : @ text; >> method : (# ... #) >> #); >> do >> 1 -> A.attribute; >> 2 -> A.method >> #) >> But I'm not sure what you see as a problem... YP> In on case, attribute is a @ and in the other it is a pattern. YP> That's not the same thing. "attribute" is an instance of text (or a @ as you put it) in both examples. "A" on the other hand is not, but what is it you think is wrong with the line marked with (* ??? *) ? /Peter