reddit discussion about Go turns to D again

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon May 16 15:04:39 PDT 2011


On 5/16/11 5:03 PM, Nick Sabalausky wrote:
> "Mike Parker"<aldacron at gmail.com>  wrote in message
> news:iqrbht$1k1o$1 at digitalmars.com...
>> On 5/16/2011 12:06 PM, Andrei Alexandrescu wrote:
>>> On 05/15/2011 10:04 PM, Daniel Gibson wrote:
>>
>>>>
>>>> So you have to write
>>>> std.parallel_algorithm.map() instead of map() all the time?
>>>
>>> alias std.parallel_algorithm p;
>>>
>>>
>>> Andrei
>>
>> Or this, which I prefer to alias:
>>
>> import p = std.parallel_algorithm;
>>
>
> What would be the difference between...
>
> alias std.parallel_algorithm p;
>
> ...and...
>
> import p = std.parallel_algorithm;
>
> ..?
>
>

One line.

Andrei


More information about the Digitalmars-d mailing list