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!gandalf.srv.welterde.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: Prefixed notation for non tagged types Date: Mon, 18 Dec 2017 16:31:06 -0600 Organization: JSA Research & Innovation Message-ID: References: <1ac5a44b-4423-443a-a7bb-2864d9abe78f@googlegroups.com><3df6404a-588d-4e2d-a189-1d1e32ce9f5d@googlegroups.com><73b4a9bd-1f3b-42b9-9ef7-5303b0a88794@googlegroups.com><427478f8-298f-49b3-9cc1-4cfd58da6bd4@googlegroups.com> Injection-Date: Mon, 18 Dec 2017 22:31:07 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="20213"; 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; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:49522 Date: 2017-12-18T16:31:06-06:00 List-Id: "Simon Wright" wrote in message news:lyzi6hfl6r.fsf@pushface.org... ... > Naturally, I wasn't involved in any ARG discussions about this (not > being a member!), but I'd have thought the ideal would be for any > derived type (which includes private types, I think?) to be a candidate. My recollection was that the original idea was to allow it for any type, but that ran into problems with access types. Then we considered allowing it for any composite type, but that ran into problems with private types (which can be completed with an elementary type, specifically an access type). Requiring "tagged" side-stepped the problems, and it seemed like a better solution than adopting something that has known problems (which, once adopted, we're stuck with forever). I think we would have been better off getting rid of the implicit 'Access in the prefixed notation (no other Ada feature does that); in that case, there wouldn't have been a problem with any type. That suggestion went nowhere, though. Randy.