Module and package with the same name

Bruno Medeiros daiphoenixNO at SPAMlycos.com
Sun Mar 26 03:17:17 PST 2006


Unknown W. Brackets wrote:
> Walter,
> 
> I think he means that this:
> 
> import foo;
> 
> And this:
> 
> import foo.bar;
> 
> Could work, if modules and packages were "the same thing."  So, 
> "foo.func" would be a function in foo, and "foo.bar.func" would be a 
> function in foo.bar.  Since, already, foo.bar doesn't necessarily mean 
> anything semantic anyway.
> 
> At least, that's what I read.
> 
> -[Unknown]
> 

Yup, that was it.



-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list