comp.lang.ada
 help / color / mirror / Atom feed
From: okellogg@freenet.de (Oliver Kellogg)
Subject: Re: child packages and nested packages
Date: 25 Mar 2002 11:26:06 -0800
Date: 2002-03-25T19:26:06+00:00	[thread overview]
Message-ID: <6a6390b8.0203251126.8eebc37@posting.google.com> (raw)
In-Reply-To: 4519e058.0203250701.7819a546@posting.google.com

dennison@telepath.com (Ted Dennison) wrote: 
> 
> Try declaring Pkg.Nested.Child within Pkg.

Well, my point was not wanting to do that.
Imagine Pkg to be the production of a code generator, potentially
containing hundreds of these nested packages, while Pkg.Nested.Child
is a human written extension.

One reason for wanting nested packages might be to reduce the number
of files.
Another, more important reason is that further declarations in
Pkg might depend on things from the nested packages, for example

   -- near the end of package Pkg:
   type Object_Array array (1 .. 2) of Nested.Object;

Thanks,

Oliver Kellogg



  reply	other threads:[~2002-03-25 19:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-23 15:02 child packages and nested packages Oliver Kellogg
2002-03-25 15:01 ` Ted Dennison
2002-03-25 19:26   ` Oliver Kellogg [this message]
2002-03-25 22:31     ` Stephen Leake
2002-04-23 21:44     ` Oliver Kellogg
2002-04-24 14:52       ` Oliver Kellogg
2002-03-26 14:21   ` Marin David Condic
2002-03-28  9:51 ` Oliver Kellogg
2002-03-28 14:49   ` Ted Dennison
2002-03-28 18:30     ` Oliver Kellogg
2002-03-28 22:13       ` Ted Dennison
2002-03-29  5:30         ` Oliver Kellogg
2002-03-29 11:59           ` Sergey Koshcheyev
2002-03-29 15:14             ` Ted Dennison
2002-03-29 13:05           ` Oliver Kellogg
  -- strict thread matches above, loose matches on Subject: below --
2010-03-04  5:37 Oliver Kellogg
2010-03-04 14:55 ` Admin - Do Not Email
2010-03-04 16:12 ` Adam Beneschan
replies disabled

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