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: a07f3367d7,7b6305d0d57a9f34 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.184.2 with SMTP id ci2mr159908bkb.7.1320180521309; Tue, 01 Nov 2011 13:48:41 -0700 (PDT) Path: l23ni45655bkv.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: Normalizing array indices Date: Tue, 1 Nov 2011 21:44:02 +0100 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <4eabab47$0$30757$ba4acef3@reader.news.orange.fr> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 X-Trace: tigger.scc.uni-weimar.de 1320180420 6084 141.54.178.228 (1 Nov 2011 20:47:00 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Tue, 1 Nov 2011 20:47:00 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: <4eabab47$0$30757$ba4acef3@reader.news.orange.fr> Xref: news1.google.com comp.lang.ada:18782 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: 2011-11-01T21:44:02+01:00 List-Id: On Sat, 29 Oct 2011, Pascal Obry wrote: > generic > type Element_Type is private; > type Sort_Array_Type is array (Positive range<>) of Element_Type; > with function "<" (Left, Right: Element_Type) return Boolean is<>; > procedure Sort(A: in out Sort_Array_Type) > with Pre => A'Last < Positive'Last - 1; > > I think this covers the problem expressed by the OP, right? Yes thank you! Stefan -- ---- Stefan.Lucks (at) uni-weimar.de, University of Weimar, Germany ---- ------ I love the taste of Cryptanalysis in the morning! ------