The immediate example is to resolve symbol conflicts.
I've ran into this a few times: import std.stdio; import std.file; void main(string[] args) { auto text = readText(args[1]); write("The contents of the file is: ", text); } However, it is solved with an alias: alias write = std.stdio.write;(or using selective imports or fully-qualified identifiers for either module of course).