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.236.203.113 with SMTP id e77mr1773516yho.15.1397599103599; Tue, 15 Apr 2014 14:58:23 -0700 (PDT) X-Received: by 10.140.92.143 with SMTP id b15mr111344qge.0.1397599103580; Tue, 15 Apr 2014 14:58:23 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!m5no2306631qaj.1!news-out.google.com!du2ni10245qab.0!nntp.google.com!m5no2306630qaj.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 15 Apr 2014 14:58:23 -0700 (PDT) In-Reply-To: <9f51076f-71cf-4735-a930-6021946491e8@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.240.222.153; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 87.240.222.153 References: <1ffb84f0-5e50-4807-90ff-dfdfac11c501@googlegroups.com> <1807366a-55d8-4d47-953c-d857f69a3306@googlegroups.com> <9f51076f-71cf-4735-a930-6021946491e8@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9c505412-8f30-4e1a-9374-a0d8d12f8db0@googlegroups.com> Subject: Re: Problem with generic package From: Laurent Injection-Date: Tue, 15 Apr 2014 21:58:23 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:19324 Date: 2014-04-15T14:58:23-07:00 List-Id: > You can only instantiate Array_Generics. Search_Generic is not a generic= . Hm now that one I don't understand. search_generic was generic before I tra= nsformed it into array_generics. It worked and could be instantiated. Now t= hat it is inside this package it doesn't work anymore?=20 I have the feeling that OOP is just about generating millions of small piec= es just to puzzle them again together. Bah don't like that. Probably a reas= on why I hate java. Had just the choice between VB and Java, hm pest or cho= lera? Unfortunately no Ada course :( Concerning (1) and (2): No I have some (1)'s and I try to put them into (2)= to get rid of the (1)'s. Where I want (2) to be a package which contains a= generic swap, sort and search function/procedure.=20 Thanks Laurent