Path: news.daimi.aau.dk!krab From: Kresten Krab Thorup Newsgroups: comp.lang.beta Subject: Re: Loki Paper 4: Simple Attributes Date: 23 Mar 1998 13:17:26 +0100 Organization: DAIMI, Computer Science Dept. of Aarhus Univ. Lines: 23 Message-ID: References: <199803202339.AAA29234@noatun.mjolner.dk> NNTP-Posting-Host: california.daimi.aau.dk Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Newsreader: Gnus v5.5/Emacs 19.34 Xref: news.daimi.aau.dk comp.lang.beta:11485 John, please not that the following is not legal BETA either, if A & B are patterns. JC> The Beta form: JC> Foo: (# Bar: A.B.C (# ... #) #) JC> appears as: JC> public class Foo { public A.B.C Bar = new A().new JC> B().new C() { ... }; } JC> The form "new A.B.C()" will not compile. As in Java, any pattern (class) is always referred implicitly (or explicitly) through a static object reference. -- Kresten Kresten Krab Thorup, Ph.D. Student ` A professor is Dept. of Computer Science, University of Aarhus one who talks in Ny Munkegade Building 540, DK-8000 Aarhus C, Denmark someone else's sleep ' Ph: +45 8942 3285; Mobile: 4094 2005; Home: 8613 3098