Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Mon Nov 1 17:32:21 UTC 2021
On 11/1/21 10:54 AM, user1234 wrote:
> On Sunday, 31 October 2021 at 01:59:38 UTC, Andrei Alexandrescu wrote:
>> https://github.com/dlang/phobos/pull/8309
>>
>> Destroy!
>
> Two questions, probably related to `canon`. I assume that two things are
> possible but I dont see how:
>
> 1. How does the module identifier part `v1` binds a current module name ?
> For example the fact that `import std.v1.file` is the same as `import
> std.file`.
I don't understand this question, can you please rephrase?
> 2. How does `v2` without actual `v2` module binds `v1` ?
> For example `import std.v2.file` is the same as `import std.v1.file`,
> despite of no physical `std.v2.file` file (to pull v1).
There will be a physical `std.v2.file`. It may only contain aliases
and/or public imports.
More information about the Digitalmars-d
mailing list