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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.39.210 with SMTP id i18mr407184ice.19.1397599402925; Tue, 15 Apr 2014 15:03:22 -0700 (PDT) X-Received: by 10.50.112.137 with SMTP id iq9mr701023igb.8.1397599402842; Tue, 15 Apr 2014 15:03:22 -0700 (PDT) Path: backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ur14no8701878igb.0!news-out.google.com!gi6ni469igc.0!nntp.google.com!ur14no8701875igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 15 Apr 2014 15:03:22 -0700 (PDT) In-Reply-To: <9c505412-8f30-4e1a-9374-a0d8d12f8db0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=66.126.103.122; posting-account=KSa2aQoAAACOxnC0usBJYX8NE3x3a1Xq NNTP-Posting-Host: 66.126.103.122 References: <1ffb84f0-5e50-4807-90ff-dfdfac11c501@googlegroups.com> <1807366a-55d8-4d47-953c-d857f69a3306@googlegroups.com> <9f51076f-71cf-4735-a930-6021946491e8@googlegroups.com> <9c505412-8f30-4e1a-9374-a0d8d12f8db0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9916e28e-d0e0-41be-9c19-96d82fdbcd9a@googlegroups.com> Subject: Re: Problem with generic package From: Adam Beneschan Injection-Date: Tue, 15 Apr 2014 22:03:22 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:185760 Date: 2014-04-15T15:03:22-07:00 List-Id: On Tuesday, April 15, 2014 2:58:23 PM UTC-7, Laurent wrote: > > You can only instantiate Array_Generics. Search_Generic is not a gener= ic. >=20 >=20 >=20 > Hm now that one I don't understand. search_generic was generic before I t= ransformed it into array_generics. It worked and could be instantiated. No= w that it is inside this package it doesn't work anymore?=20 Because it's not a generic any more. I've said this at least twice already= , but a generic is something that is declared with the word "generic", and = Search_Generic is no longer declared with the word "generic". Now that Arr= ay_Generics is a generic and the procedures are not generic, you can instan= tiate Array_Generics but you cannot instantiate the procedures. -- Adam