phobos dependencies

Meta jared771 at gmail.com
Fri Dec 20 11:36:28 PST 2013


On Friday, 20 December 2013 at 19:34:10 UTC, Patrick Down wrote:
> On Friday, 20 December 2013 at 17:40:08 UTC, H. S. Teoh wrote:
>> in the current import path, then implicitly try to import x.y 
>> and lookup
>> z in that module. Then you could just write:
>>
>> 	void f(T)(T t) if (std.range.isInputRange!T) ...
>>
>> and the compiler will automatically import std.range within 
>> that scope.
>
> How about:
>
> scope import std.range;
> // lazy import std.range; ?
>
> void f(T)(T t) if (std.range.isInputRange!T) ...

I think the best keyword to use in this situation would be 
stati... Oh, dammit, not again.


More information about the Digitalmars-d mailing list