```d
import std.stdio, std.algorithm.setops, std.array;

void main() {
    int[] v1 = [1, 2, 5, 5, 5, 9];
    int[] v2 = [2, 5, 7];
    int[] v3 = setDifference(v1, v2).array;

    writefln!"%s \\ %s = %s"(v1, v2, v3);
}
```

[1, 2, 5, 5, 5, 9] \ [2, 5, 7] = [1, 5, 5, 9]
  • Are there some h... Ferhat Kurtulmuş via Digitalmars-d-learn
    • Re: Are the... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Are... Ferhat Kurtulmuş via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... Ali Çehreli via Digitalmars-d-learn
            • ... Ali Çehreli via Digitalmars-d-learn

Reply via email to