comp.lang.ada
 help / color / mirror / Atom feed
From: mheaney@ni.net (Matthew Heaney)
Subject: Re: Ada Generic Library (very) preliminary release
Date: 1997/07/13
Date: 1997-07-13T00:00:00+00:00	[thread overview]
Message-ID: <mheaney-ya023680001307971311450001@news.ni.net> (raw)
In-Reply-To: Pine.SGI.3.95.970713094409.22907C-100000@shellx.best.com


In article <Pine.SGI.3.95.970713094409.22907C-100000@shellx.best.com>,
Brian Rogoff <bpr@shellx.best.com> wrote:


>(The high priority 
>is finding a better way around the interleaving omission I mention above, 
>since it forces too much to be public, as Mats Weber pointed out. I know 
>this, but I am uncertain as to what to do. One solution might be to just
>break up the iterator child package into two or more, and use with clauses
>to "order" the elaboration of the children). 

I haven't seen the library, but if you want some parts public and some
private, you have to do it this way in Ada 95:

   type Root_Stack_Public is tagged
      record
         <public components here>
      end record;

   type Root_Stack is new Root_Stack_Public with private;

   procedure Push (Item : in Stack_Item; On : in out Root_Stack);

private

   procedure <private op> (Stack : in out Root_Stack);
...
end Stacks_G;

What are you trying to do, exactly, that can't be done as is shown above?

Matt

P.S. Actually, I was in Troy last weekend.  Didn't get a chance to visit
the VCC, though.  (I graduated from RPI back in '85.)

--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271




  reply	other threads:[~1997-07-13  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-08  0:00 Ada Generic Library (very) preliminary release Brian Rogoff
1997-07-09  0:00 ` Mats Weber
1997-07-09  0:00   ` Brian Rogoff
1997-07-13  0:00     ` Matthew Heaney
1997-07-13  0:00       ` Brian Rogoff
1997-07-13  0:00         ` Matthew Heaney [this message]
1997-07-13  0:00           ` Brian Rogoff
1997-07-14  0:00             ` Jon S Anthony
1997-07-14  0:00               ` Brian Rogoff
1997-07-14  0:00         ` Jon S Anthony
1997-07-09  0:00 ` Richard Kenner
1997-07-09  0:00   ` Robert Dewar
1997-07-09  0:00   ` Brian Rogoff
replies disabled

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