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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ace9bff8eb84e5b1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Generic Zero Length Array Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <9b771018-fb0b-42eb-ae00-12ee3eda69b2@p43g2000hsc.googlegroups.com> <2446841a-8bb0-46bc-94ed-099e4e0ca74c@k2g2000hse.googlegroups.com> <7cd05c2a-d67a-4623-a9dc-67e357877f48@e6g2000prf.googlegroups.com> Date: Sat, 23 Feb 2008 17:16:18 +0100 Message-ID: NNTP-Posting-Date: 23 Feb 2008 17:16:20 CET NNTP-Posting-Host: d4bcc853.newsspool4.arcor-online.net X-Trace: DXC=Z9cnk_Z9ki>T2Rfi6\BH3Y2?n]S\17f>B2[6LHn;2LCV>[ On Sat, 23 Feb 2008 09:27:26 -0500, Robert A Duff wrote: > I suppose ranges could be characterized by 'First/'Length, > instead of 'First/'Last. And eliminate 'Last from the language. Is Index'First any better than Index'Last? Null range does not have any indices in it. That includes Index'First. Otherwise each element of Index would have an individual null range associated with it. (I think there should be something like null of Universal_Range.) > Or else say 'Last raises Constraint_Error if 'First = 'Base'First > and 'Length = 0. A'Range /= A'First..A'Last? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de