From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5ebeef2944e4167d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.83.40 with SMTP id n8mr1153487pay.42.1346426140818; Fri, 31 Aug 2012 08:15:40 -0700 (PDT) Received: by 10.50.37.141 with SMTP id y13mr750554igj.1.1346426139639; Fri, 31 Aug 2012 08:15:39 -0700 (PDT) Path: a8ni4189115pbd.1!nntp.google.com!r4no665874pbs.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 31 Aug 2012 08:15:39 -0700 (PDT) In-Reply-To: <14ea9dpbr6lnq$.jxp51rtuf0jp.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ NNTP-Posting-Host: 66.126.103.122 References: <85mx1bwec4.fsf@stephe-leake.org> <14ea9dpbr6lnq$.jxp51rtuf0jp.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0da1f274-ce86-49bd-9ce4-eaa928d63131@googlegroups.com> Subject: Re: anonymous aggregates? From: Adam Beneschan Injection-Date: Fri, 31 Aug 2012 15:15:40 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-31T08:15:39-07:00 List-Id: On Friday, August 31, 2012 5:02:03 AM UTC-7, Dmitry A. Kazakov wrote: >=20 > There are two separate issues here: >=20 > 1. anonymous record types, one of the things I liked to have very much as > well as an ability to use anonymous arrays and aggregates as components. >=20 > The syntax is obvious: >=20 > function Foo return > record > A : Integer; > B : Float; > end record; I seem to recall someone saying, probably on this newsgroup, that the early= designers of Ada were keeping open the possibility of anonymous record typ= es. That's one reason why the syntax ends with "end record" instead of "en= d " (just to tie this to a different thread!). It could be that = the original version of the language had anonymous record types somewhere i= n the syntax, and it got eliminated before Ada 83 was standardized. But I = don't really know. -- Adam