On Thursday, 22 February 2018 at 08:52:21 UTC, Timothee Cour wrote:
you should also mention an important point:
current syntax disallows importing a simple module foo (with no package), eg:

import std.stdio:write,foo; // there's no way to specify a module `foo` import std.stdio:write & foo; // ok

I don't care whether it's `|` or `&` but `,` as a module separator is 100% broken (and illegible, as you mentioned).


Given that comma is implemented already, and barring a revert, can we maybe somewhat unbreak it by allowing:

import mod1: write, .mod2;

So leading dot to say it's a module (if not fully qualified)

Reply via email to