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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,73cb216d191f0fef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.196.134 with SMTP id im6mr4123330pbc.5.1363383882361; Fri, 15 Mar 2013 14:44:42 -0700 (PDT) MIME-Version: 1.0 Path: q9ni18699pba.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border6.newsrouter.astraweb.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!news.mi.ras.ru!goblin2!goblin.stu.neva.ru!newsfeed.x-privat.org!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Is this expected behavior or not Date: Tue, 12 Mar 2013 18:14:12 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1363130055 4088 69.95.181.76 (12 Mar 2013 23:14:15 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 12 Mar 2013 23:14:15 +0000 (UTC) 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.6157 X-Received-Bytes: 2324 Date: 2013-03-12T18:14:12-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:mtz6eyrgv524.r2yf3jw9vid3$.dlg@40tude.net... > On Mon, 11 Mar 2013 13:41:43 -0700 (PDT), Shark8 wrote: > > [...] >> We don't want the subtype "Head" to fail when the Pred'(Pos) is applied >> [and Pos = 1] while declaring the range; this precisely because the >> null-range is valid and what we desire. The construction of range 1..0 >> should therefore not generate an exception despite 0 not being a member >> of >> Positive. > > The issue of the bounds of an empty string is not related to subtypes. It > has a long history. But in short, you should not break one thing in order > to save another. I totally agree. You should build a time-machine in order to go back and tell Jean Ichbiah and his team that. But until you do, it is very relevant for Ada - because that is the decision that they made and we're stuck with it forever (including all weird consequences). Randy.