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!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Musing on defining attributes and the ability to define an "abstract type X"-interface. Date: Fri, 04 Aug 2017 07:48:33 +0100 Organization: A noiseless patient Spider Message-ID: References: <9617c73b-e23e-405b-8544-4d17e7e3ad61@googlegroups.com> <28512bf1-0c2c-400f-a24f-cc7e0eb8a02d@googlegroups.com> <87h8y67trd.fsf@jacob-sparre.dk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="4cb021258cc5d5e69fc0579a8084b8ed"; logging-data="17525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OANpuYmh88axbO2hXTdQolz3mYrFINKI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) Cancel-Lock: sha1:iwv3OdJbpfz+XF6RN06z6SRkpUg= sha1:8gI8aUXxs+7BFBl+ey8zAjGPpMc= Xref: news.eternal-september.org comp.lang.ada:47585 Date: 2017-08-04T07:48:33+01:00 List-Id: Shark8 writes: > To illustrate, a proper and strict ASCII string would be: > Type ASCII_Character is Character range Character'First..Character'Pred( Character'Pos(128) ); > Type ASCII_String is Array(Positive Range <>) of ASCII_Character OK so far > with Component_Size => 7, Packed; AAARGH