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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.141.4 with SMTP id k4mr1372596bku.6.1337335424488; Fri, 18 May 2012 03:03:44 -0700 (PDT) Path: e27ni8659bkw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Marius Amado-Alves Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Fri, 18 May 2012 02:56:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9229213c-599c-49c4-8ada-c27c8249f562@googlegroups.com> References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> NNTP-Posting-Host: 188.80.82.138 Mime-Version: 1.0 X-Trace: posting.google.com 1337335424 16779 127.0.0.1 (18 May 2012 10:03:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 May 2012 10:03:44 +0000 (UTC) In-Reply-To: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.80.82.138; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-05-18T02:56:03-07:00 List-Id: Great, great thread. (So "great" I didn't have time to go through all of it yet... so sorry if this was already proposed.) A predefined attribute 'Length for enumeration types, probably defined as equivalent to T'Length = T'Pos (T'Last) - T'Pos (T'First) + 1 (That's the formula I use anyway, FOR EACH AND EVERY ENUMERATION...) (FWIW I agree with all other proposed enrichements of enumerations.)