Peter Alexander:

I'd like to see the usage of a not implicit graph.

Regarding this line:

static d(string a, string b) { return zip(a, b).count!"a[0] != a[1]"; }

An alternative:

enum dist = (in string s, in string s2) pure =>!(ab => ab[0] != ab[1]);

It's a use case for some tuple unpacking syntax:

enum dist = (in string s1, in string s2) pure =>!(@{a, b} => a != b);


Reply via email to