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!.POSTED!not-for-mail From: G. B. Newsgroups: comp.lang.ada Subject: Re: [Newbie] doubly constrained array, dumb question Date: Tue, 27 Feb 2018 17:08:40 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <62f83fe5-15d6-41cf-952f-bc3cb077d42f@googlegroups.com> <473f9b1a-6466-4745-9041-107f54062cf2@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 27 Feb 2018 17:08:40 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="ca838ff001a972a9877d12907e495095"; logging-data="20689"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YrulKAfm1ImF/2VWyyx03QTA7siTT1jY=" User-Agent: NewsTap/5.3.1 (iPhone/iPod Touch) Cancel-Lock: sha1:9PZ4JQFUn5EZh8G4k+UkR+bydnc= sha1:sdalj2pLRwlyKhxcZH0HtLAA0yY= Xref: reader02.eternal-september.org comp.lang.ada:50684 Date: 2018-02-27T17:08:40+00:00 List-Id: Dmitry A. Kazakov wrote: > On 27/02/2018 02:29, Mehdi Saada wrote: > >> For 8: a class has any sense at all only if there's no dispatching to an >> inexistent method, and your forbidding some methods would do the same, raise an exception. > > Not in the case of subtypes. For example, the "class" Integer of which > Positive is a "member" Or a subset, rather? All x in Positive are such that x in Integer, but Positive is not an element of Integer.