On Tuesday, 15 August 2017 at 21:12:24 UTC, jmh530 wrote:

In the past, I've thought it would be convenient to have something like

import io = std.stdio : writeln, write;

and allow someone to write

io.write("foo");
io.writeln("bar");


This is already in the language: http://dlang.org/spec/module.html#renamed_imports

Reply via email to