On Thursday, 13 September 2018 at 11:58:40 UTC, rikki cattermole wrote:
import std.stdio;
import std.file;

void chdir(R)(R path) {
        writeln("changing dir to ", path);
    std.file.chdir(path);
}

And if you don't want to write long qualified import names, just rename it:

import sf = std.file;
sf.chdir("foo");
chdir("foo");

Reply via email to