comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent <daemon2@internet.lu>
Subject: Re: Problem with generic package
Date: Tue, 15 Apr 2014 14:58:23 -0700 (PDT)
Date: 2014-04-15T14:58:23-07:00	[thread overview]
Message-ID: <9c505412-8f30-4e1a-9374-a0d8d12f8db0@googlegroups.com> (raw)
In-Reply-To: <9f51076f-71cf-4735-a930-6021946491e8@googlegroups.com>


> 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 transformed it into array_generics. It worked and could be instantiated. Now that it is inside this package it doesn't work anymore? 

I have the feeling that OOP is just about generating millions of small pieces just to puzzle them again together. Bah don't like that. Probably a reason why I hate java. Had just the choice between VB and Java, hm pest or cholera? 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. 

Thanks

Laurent

  reply	other threads:[~2014-04-15 21:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-15 18:26 Problem with generic package Laurent
2014-04-15 19:36 ` Adam Beneschan
2014-04-15 19:44 ` Adam Beneschan
2014-04-15 20:12   ` Laurent
2014-04-15 20:37     ` Adam Beneschan
2014-04-15 20:43     ` Eryndlia Mavourneen
2014-04-15 20:47       ` Eryndlia Mavourneen
2014-04-15 21:28     ` Georg Bauhaus
2014-04-15 20:41 ` Simon Wright
2014-04-15 21:12   ` Laurent
2014-04-15 21:27     ` Adam Beneschan
2014-04-15 21:58       ` Laurent [this message]
2014-04-15 22:03         ` Adam Beneschan
2014-04-16  6:03         ` Georg Bauhaus
2014-04-16 20:37           ` Laurent
2014-04-16 21:13             ` Mike H
2014-04-16 22:31               ` Randy Brukardt
2014-04-16 23:06               ` Jeffrey Carter
2014-04-15 22:14     ` Simon Wright
2014-04-16 18:49       ` Laurent
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox