On Sunday, 7 August 2022 at 03:55:50 UTC, Emanuele Torre wrote:
On Sunday, 7 August 2022 at 01:22:18 UTC, pascal111 wrote:
[...]

They are quite different:
* `chain` gives you "range" (iterator) that starts from the first element of `x` and ends at the last element of `y` (like e.g. `zip` in other languages). * `~` creates a new `int[]` with elements from `x` and the elements from `y`.

[...]

I was wondering why they in D repeating ways for the same function, but I know now I'm wrong, "chain" isn't like "~".

Reply via email to