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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada Successor Language Date: Fri, 29 Jun 2018 15:35:42 -0500 Organization: JSA Research & Innovation Message-ID: References: <5e86db65-84b9-4b5b-9aea-427a658b5ae7@googlegroups.com> <878t7u1cfm.fsf@nightsong.com> <776f3645-ed0c-4118-9b4d-21660e3bba4b@googlegroups.com> <87602fbu2g.fsf@nightsong.com> <87po0mziqt.fsf@nightsong.com> <87fu1izfgs.fsf@nightsong.com> <878t75nwad.fsf@adaheads.home> Injection-Date: Fri, 29 Jun 2018 20:35:43 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="2151"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:53447 Date: 2018-06-29T15:35:42-05:00 List-Id: "Niklas Holsti" wrote in message news:fpcb15Fk3saU1@mid.individual.net... ... > (In fact, it seems to me that Ada could allow untagged record extensions > as well; the effect would be the same as for tagged ones, but no 'Class > would be formed, and no class-wide programming or dynamic dispatch could > be used, so all such types would be static. It would be semantically > equivalent to aggregation of a component of the parent type with the > extension components, but would allow direct access to the inherited > components from the parent type. This could be a useful separation of > extensions from tags.) Very early versions of Ada 9X included type extension on all composite types. I believe 'Class was allowed on all types. Eventually, that and many other things were dropped because the reviewers thought that the language design was too ambitious. Some of those other things have been resurfacing in later Ada versions - even now (Ada 2020 is adding aggregate iterators, an idea that was proposed and dropped from Ada 9X). We haven't had any serious requests for reintroducing either type extension on untagged types nor 'Class on all types (random discussion here doesn't count - one needs real programming problems for a formal request). Randy.