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 X-Received: by 2002:a24:1646:: with SMTP id a67-v6mr6336495ita.43.1529408167064; Tue, 19 Jun 2018 04:36:07 -0700 (PDT) X-Received: by 2002:aca:d60f:: with SMTP id n15-v6mr693599oig.6.1529408166957; Tue, 19 Jun 2018 04:36:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!d7-v6no5810384itj.0!news-out.google.com!z3-v6ni7327iti.0!nntp.google.com!u78-v6no5777309itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 Jun 2018 04:36:06 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.195.62; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.195.62 References: <5e86db65-84b9-4b5b-9aea-427a658b5ae7@googlegroups.com> <878t7u1cfm.fsf@nightsong.com> <776f3645-ed0c-4118-9b4d-21660e3bba4b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada Successor Language From: "Dan'l Miller" Injection-Date: Tue, 19 Jun 2018 11:36:07 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53158 Date: 2018-06-19T04:36:06-07:00 List-Id: On Tuesday, June 19, 2018 at 2:35:30 AM UTC-5, G. B. wrote: > Shark8 wrote: >=20 > > I'd honestly like the ability to use X'Type; this would allow us to say > > something like this: > >=20 > > Procedure Swap( A, B : in out Some_Type ) is > > Temp : Constant B'Type :=3D B; > > Begin > > B:=3D A; > > A:=3D Temp; > > End Swap; > >=20 > > Yeah, I know, it's a little thing and you can do it with generics, etc. > > But that's not entirely the point, the point is that this allows the > > declaration of types dependent on objects... it provides some of the > > niceties of type-inference without having to resort to such > > lazy/possibly-error-prone methodologies. > >=20 >=20 > What is the =E2=80=98Size of B=E2=80=99Type? Zero