From: Dale Stanbrough <dale@goanna.cs.rmit.EDU.AU>
Subject: Re-exporting features from private packages...
Date: 1997/02/11
Date: 1997-02-11T00:00:00+00:00 [thread overview]
Message-ID: <5dp10k$19h$1@goanna.cs.rmit.edu.au> (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
next reply other threads:[~1997-02-11 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-11 0:00 Dale Stanbrough [this message]
1997-02-16 0:00 ` Re-exporting features from private packages Tucker Taft
1997-02-20 0:00 ` Samuel Mize
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox