psychoticRabbit wrote:
Also, if I do this below, how does the compiler choose the correct write function?import std.stdio; import std.file; void main() { write("hello"); writeln("hello again"); }
it's easy: just take a look at `std.file.write()`. first, it require two arguments. this is enough to rule `stf.file.write()` out in your case.