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: a07f3367d7,2e6723b897ab47fb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.72.165 with SMTP id e5mr1825201pav.4.1344849821470; Mon, 13 Aug 2012 02:23:41 -0700 (PDT) Path: p10ni52862764pbh.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news-in-01.newsfeed.easynews.com!easynews.com!easynews!novia!newsfeed.yul.equant.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news-feed.eu.lambdanet.net!news.bcc.de!newsfeeder.ewetel.de!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Marius Amado-Alves Newsgroups: comp.lang.ada Subject: Re: Ada.Locales pseudo-string types Date: Tue, 7 Aug 2012 11:22:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <78707b6e-88a3-453a-a37c-840f7a62e703@googlegroups.com> <7303f906-0f6a-4d97-ae15-36b4056ede6c@googlegroups.com> <257b4f44-b6c6-4c79-8c6e-dec947a3ce25@googlegroups.com> NNTP-Posting-Host: 188.82.45.163 Mime-Version: 1.0 X-Trace: posting.google.com 1344363850 6614 127.0.0.1 (7 Aug 2012 18:24:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Aug 2012 18:24:10 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.82.45.163; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY User-Agent: G2/1.0 X-Received-Bytes: 2280 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-08-07T11:22:17-07:00 List-Id: > > subtype Country_Code is String (1 .. 2) > > with Static_Predicate => > > Country_Code (1) in 'A' .. 'Z' and > > Country_Code (2) in 'A' .. 'Z'; > But it looks to me that "current instance" refers strictly to the name Country_Code, period, without any indexes... If Country_Code denotes the object (?), and the object is a String, then I don't see a problem in indexing it. I agree it looks more dynamic than static. I've tried Dynamic_Predicate to see if the predicate had effect. It did not.