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,91276ec2ea911d3f,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news1.google.com!news.maxwell.syr.edu!news.netcologne.de!newsfeed-fusi2.netcologne.de!85.158.31.10.MISMATCH!newsfeed-0.progon.net!progon.net!news-zh.switch.ch!switch.ch!cernne03.cern.ch!cern.ch!news From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Generic procedures and their parameters Date: Wed, 06 Sep 2006 10:51:48 +0200 Organization: CERN - European Laboratory for Particle Physics Message-ID: NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sunnews.cern.ch 1157532707 15822 (None) 137.138.37.241 X-Complaints-To: news@sunnews.cern.ch User-Agent: Thunderbird 1.5.0.5 (X11/20060801) Xref: g2news2.google.com comp.lang.ada:6465 Date: 2006-09-06T10:51:48+02:00 List-Id: Hi, I have found the following signature for the sorting procedure: eneric type Index_Type is (<>); type Element_Type is private; type Array_Type is array (Index_Type range <>) of Element_Type; with function "<" (Left, Right : in Element_Type) return Boolean is <>; procedure Sort(To_Sort : in out Array_Type); My question is: what's the purpose of the third parameter (Array_Type)? Isn't it implied by the first two and therefore just redundant? -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/