Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability
user1234
user1234 at 12.de
Mon Nov 1 14:54:26 UTC 2021
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`.
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).
More information about the Digitalmars-d
mailing list