comp.lang.ada
 help / color / mirror / Atom feed
* Re-exporting features from private packages...
@ 1997-02-11  0:00 Dale Stanbrough
  1997-02-16  0:00 ` Tucker Taft
  1997-02-20  0:00 ` Samuel Mize
  0 siblings, 2 replies; 3+ messages in thread
From: Dale Stanbrough @ 1997-02-11  0:00 UTC (permalink / raw)



Ada prevents a public package withing a private package presumably to
prevent the private info being exported. However this rule seems too
restrictive.

A simple rule change would seem to allow a much more flexible use of
private packages that would not compromise security. If a package
spec was allowed to 'with' a private package, but only refer to it in
its private section, it would seem we could have the best of both worlds.

This could be signalled by a special syntax...

	with private Blah; use Blah;


or simply by allowing it, with no change in syntax.

Are there any reasons why this would not be a good thing?


Dale




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

end of thread, other threads:[~1997-02-20  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-11  0:00 Re-exporting features from private packages Dale Stanbrough
1997-02-16  0:00 ` Tucker Taft
1997-02-20  0:00 ` Samuel Mize

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