D Language Selective imports


Example

Selective imports can help to cleanup the namespace and speed-up the compile-time even more, because the compiler only needs to parse the specific, selected functions.

import std.stdio: writeln;
void main()
{
    writeln("Hello world");
}