From: jay@SNOW-WHITE.MERIT-TECH.COM (Jay Labhart)
Subject: RE: Generics Question
Date: 19 Sep 89 23:03:23 GMT [thread overview]
Message-ID: <8909192303.AA14796@snow-white.merit-tech.com> (raw)
Hello,
I am working on a project trying to utilize the generics portion
of Ada. Here is my problem.
I need to have the user instantiate a package from his procedure
which inturn instantiates many more packages using the users
inputed type.
Here a sample
generic
type x is (<>);
package foo is
procedure start_it ( s : x);
end foo;
package body foo is
procedure start_it
****
*** here is where I would like to instaniate more packages
end foo;
I am trying to allow a tool to accept different types within
Ada, rather than utilizing only integer, float...
Your help is greatly appreciated
Jay Labhart
jay@snow-white.merit-tech.com
next reply other threads:[~1989-09-19 23:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1989-09-19 23:03 Jay Labhart [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-07-22 0:00 Generics question Skip Carter
1997-07-22 0:00 ` W. Wesley Groleau x4923
1997-07-23 0:00 ` Robert Dewar
1997-07-23 0:00 ` Brian Rogoff
1997-07-24 0:00 ` Michael F Brenner
1997-07-24 0:00 ` Brian Rogoff
1997-07-24 0:00 ` Jon S Anthony
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox