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: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: syntaxic exploration Date: Sat, 23 Dec 2017 17:23:29 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <0d33e631-e63d-4346-ac95-5eec72127f4f@googlegroups.com> <0fa75dd5-599b-4a38-a5d4-3151bbe5172f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 23 Dec 2017 16:23:30 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="7ddc5798d900218378993e6a980c532a"; logging-data="32201"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ACLiR1t95n5vkYNhy/gdnYKXV5YwA+TA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:w9s6gTe7LV6JfmyenL7EBJ9zDGA= Xref: reader02.eternal-september.org comp.lang.ada:49611 Date: 2017-12-23T17:23:29+01:00 List-Id: On 12/22/2017 11:11 PM, Niklas Holsti wrote: > > I think the aggregate form (null array) was suggested some time ago, in analogy > with the existing (null record). It looks good to me, but as I remember, there > was some objection. One problem is that if the index type has exactly one value, > then a null array with that index type cannot exist (because then A'First = > A'Last for any such array A). Actually, a null array of such a type can exist if it's a string type, because you can use the string literal "" for such types. AIUI, 'Last is undefined for such a value. Allowing (null array) for non-string array types with an index type with a single value would presumably work the same. -- Jeff Carter "The time has come to act, and act fast. I'm leaving." Blazing Saddles 36