Fix #2529: explicit protection package #3651

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Aug 20 02:40:26 PDT 2014


On Wed, 20 Aug 2014 09:26:36 +0000
Kagamin via Digitalmars-d-announce
<digitalmars-d-announce at puremagic.com> wrote:

> Huh? If std.datetime and std.regex are subpackages of `std` 
> package, it usually means, they should reside in `std` directory, 
> no? And how explicit package protection can change that?
imagine mybiglib, mybiglib.internal, mybiglib.other, and each of them
not single module, but package itself. so we have module
mybiglib.other.thingy which wants to use functions from
module mybiglib.internal.wisdom, which is part of mybiglib.internal
package.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20140820/51951859/attachment.sig>


More information about the Digitalmars-d-announce mailing list