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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.18.3 with SMTP id s3mr47695117obd.17.1435086884775; Tue, 23 Jun 2015 12:14:44 -0700 (PDT) X-Received: by 10.140.99.44 with SMTP id p41mr201953qge.3.1435086884664; Tue, 23 Jun 2015 12:14:44 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!j8no560653igd.0!news-out.google.com!4ni2557qgh.1!nntp.google.com!q107no2917430qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 23 Jun 2015 12:14:44 -0700 (PDT) In-Reply-To: <1x5zmf4ahhn24.1c5jwrp8hu2nb.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.91.37.131; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 87.91.37.131 References: <4lrj5zz2u2z.u8x9cf7xzic6.dlg@40tude.net> <58f64fa9-7d0b-44dd-870c-77d9afcb82c4@googlegroups.com> <1f6dpcxmxly1a$.zfhetu1wgtix$.dlg@40tude.net> <667dce55-6a08-430b-bbe2-367e26a41e4e@googlegroups.com> <1x5zmf4ahhn24.1c5jwrp8hu2nb.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <183ae4db-4005-4a2e-8ac7-82e51939b73d@googlegroups.com> Subject: Re: Ada design bug or GNAT bug? From: vincent.diemunsch@gmail.com Injection-Date: Tue, 23 Jun 2015 19:14:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:26440 Date: 2015-06-23T12:14:44-07:00 List-Id: Le mardi 23 juin 2015 19:15:36 UTC+2, Dmitry A. Kazakov a =E9crit : > On Tue, 23 Jun 2015 09:57:43 -0700 (PDT), Vincent wrote: > > A would rather call a set of types a category [of types], like Integers= or > > dicrete types. >=20 > Integers is a class of types, so discrete types are. Ok ARM 2012 says : Any set of types can be called a "category" of types, and any set of types = that is closed under derivation (see 3.4) can be called a "class" of types.= =20 But I was trying to imagine a new category : a "class type". It would be so= mething between : - a general access-to-class-wide type - a controlled object with Initialize, Adjust and Finalize. - a protected type for the syntax of primitive operations > >>> One may think that the distinction between class type and tagged type= is > >>> subtle, but the implications of it are huge : without class object on= e > >>> needs as replacement access to a class wide type. > >>=20 > >> Why? > >=20 > > Because one need a concrete object! >=20 > tagged object is a concrete object. Ok. I should have said, very often one need a constrained object, and this requires an access value for polymorphic tagged objects.=20 Vincent