On 12/20/2013 09:43 PM, Martin Nowak wrote:
Couldn't static imports be made lazy without breaking any code?
The above example would read.
static import std.range.
void foo(R)(R range) if (std.range.isForwardRange!R)
{
}
Furthermore selective import can always be made lazily without changing code.
import std.algorithm : min;Only if `min` or `std.algorithm` are used the compiler needs to open std.algorithm.
