comp.lang.ada
 help / color / mirror / Atom feed
* Parent/child dependencies and internal library units
@ 2014-07-23 16:20 Victor Porton
  2014-07-23 16:40 ` mockturtle
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Victor Porton @ 2014-07-23 16:20 UTC (permalink / raw)


I noticed that child units depend on their parents.

As such making parent dependent on a child makes a dependency loop.

Before noting this feature of Ada language, I thought parent units could be 
implemented based on their child units, but that does not work, because 
making parents dependent on children is a circular dependency.

So, my question:

What is a good way to create "internal" or "implementation" units for a 
unit? Should I create a *.Internal.* hierarchy of packages?

-- 
Victor Porton - http://portonvictor.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-23 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 16:20 Parent/child dependencies and internal library units Victor Porton
2014-07-23 16:40 ` mockturtle
2014-07-23 16:47 ` Simon Wright
2014-07-23 16:48 ` Adam Beneschan
2014-07-23 18:37 ` Stefan.Lucks
2014-07-23 21:31 ` Robert A Duff

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