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: 103376,5f5a48f21d7f7525 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: Inferring array index type from array object Date: Tue, 29 Jun 2010 03:10:57 +0100 Message-ID: References: <6b20ed09-efc1-4df7-90f9-5e141482e8d0@d37g2000yqm.googlegroups.com> <1305oqccr1h2t$.x33x4oxwd84d$.dlg@40tude.net> <88ec2vF3uqU1@mid.individual.net> <88f9osFmcmU1@mid.individual.net> <88sld2F9m8U1@mid.individual.net> <73ee19f6-1591-47ba-9dd0-3932935422f7@v13g2000prn.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net Zi6xxi63TBSJeN0x/J/duwttWaTC6BYrdAqoea8ANohBCxA1DK Cancel-Lock: sha1:PK6UxD/nvoe1NQ4ENuy7VgWaV9w= User-Agent: Microsoft-Entourage/12.23.0.091001 Thread-Topic: Inferring array index type from array object Thread-Index: AcsXME+CoGgiWDPInUOtS/6iVFUSRQ== Xref: g2news1.google.com comp.lang.ada:11976 Date: 2010-06-29T03:10:57+01:00 List-Id: On 29/06/2010 02:49, in article 73ee19f6-1591-47ba-9dd0-3932935422f7@v13g2000prn.googlegroups.com, "Adam Beneschan" wrote: > On Jun 28, 3:18�pm, Niklas Holsti > wrote: > >> "Convenience" is not always opposed to "the Ada way". Ada strives to be >> readable and correctness-prone (that is, the opposite of error-prone). I >> thnk that there are features that could be added to Ada that favour >> these goals but also increase convenience. >> >> I think Ada could well support an add-and-assign syntax, for example in >> the syntax X +:= 1 > > see http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai05s/ai05-0187-1.txt?rev=1.6 Sigh! -- Bill Findlay chez blueyonder.co.uk