import concerns (was Re: Historical language survey)

Dave Dave_member at pathlink.com
Sat Jul 8 18:57:37 PDT 2006


Derek Parnell wrote:
> On Sun, 09 Jul 2006 10:54:03 +1000, Walter Bright 
> <newshound at digitalmars.com> wrote:
> 
> 
>> Alias also works fine for making substitutes for long, awkward names:
>>
>> import x.y.mod;
>> alias x.y.mod t;
>>
>> x.y.mod.foo();    // works
>> t.foo();    // also works
> 
> Why not join the two ...
> 
>   import x.y.mod alias t;
> 
>   t.foo();
> 

Perfect.

> --Derek Parnell
> Melbourne, Australia



More information about the Digitalmars-d mailing list