public import and bugs it causes
Walter Bright
newshound1 at digitalmars.com
Fri May 14 14:54:03 PDT 2010
Leandro Lucarella wrote:
> Python have import foo.*; and you can controll it the same way you can in
> D, except that if you don't do any fine control the default is to export
> everything.
>
> I think D is missing a feature here, not fixing or mitigating anything.
It's deliberately missing it. If the designer of a package wants a convenient
way for the user to import everything in the package, all he has to do is create
an all.d module which publicly imports everything.
More information about the Digitalmars-d
mailing list