import std;
void doSomething(int i, string s)
{
writeln("%s-%s".format(i, s));
}
void main()
{
foreach (t; cartesianProduct(iota(1, 4), ["abc", "def", "ghi"]).parallel) {
doSomething(t.expand);
}
}
import std;
void doSomething(int i, string s)
{
writeln("%s-%s".format(i, s));
}
void main()
{
foreach (t; cartesianProduct(iota(1, 4), ["abc", "def", "ghi"]).parallel) {
doSomething(t.expand);
}
}