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 lookupz 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) ...
