From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.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: Lower bounds of Strings Date: Thu, 7 Jan 2021 15:39:23 -0600 Organization: JSA Research & Innovation Message-ID: References: <1cc09f04-98f2-4ef3-ac84-9a9ca5aa3fd5n@googlegroups.com> <5f0c4c86-bea9-4007-b16e-b4b80749a8b5n@googlegroups.com> <97bb9444-9787-483d-9eff-e51b5fd58daan@googlegroups.com> <2ef3d694-b382-4274-adc1-92345f31a602n@googlegroups.com> Injection-Date: Thu, 7 Jan 2021 21:39:24 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="6642"; 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:61059 List-Id: "Stephen Davies" wrote in message news:2ef3d694-b382-4274-adc1-92345f31a602n@googlegroups.com... ... > Reminder, my justification is not only for strings being indexed by > numeric literals, e.g.: > subtype Some_Range is Positive range 4..5; > ... > Some_String(Some_Range) -- fails if Some_String'First /= 1 I don't follow this at all. You say your justification "is not only for strings" but only give a string example. And what you want is essentially the semantics of a vector container (more specifically, a bounded vector container), but want to add a pile of additional complication to something that is already far to complicated. What's wrong with building around a bounded vector??? Ada (or its successor) needs to be simpler, not more complicated. Randy.