Import concerns revisited (OT convert. instead of locale.)
John Reimer
terminal.node at gmail.com
Tue Jul 11 02:05:51 PDT 2006
"kris" <foo at bar.com> wrote in message
news:e8votm$1e76$1 at digitaldaemon.com...
> Walter Bright wrote:
>> kris wrote:
>>> I suspect you are very confused about what is actually being asked for.
>>> Is that the case? Perhaps you'd like to note what it is that you think
>>> is being proposed?
>>
>>
>> You prefer:
>>
>> with Foo import bar as abc;
>>
>> instead of:
>>
>> static import Foo;
>> alias Foo.bar abc;
>>
>
> As I suspected, you've been thoroughly confused by the sheer variety of
> options. What /I've/ been asking can be broken down into two parts:
>
> part 1.
>
> import lib.text.locale.convert as convert;
>
> This imports all of the convert module symbols, and makes them available
> via a "locale." prefix. This is equivalent to your "static import" in
> conjunction with a relevant alias.
I want to note a correction here. Kris means "This imports all of the
convert module symbols, and makes them available via 'convert.' prefix."
A little mistake... but just so people don't get confused. :)
-JJR
More information about the Digitalmars-d
mailing list