Thanks! To completely answer my question, here is the generalization to arbitrary n.
d = ['a', 'b', 'c']
n = 4
dd = fill(d, n)
for c in IterTools.product(dd...)
println(c)
end
Thanks! To completely answer my question, here is the generalization to arbitrary n.
d = ['a', 'b', 'c']
n = 4
dd = fill(d, n)
for c in IterTools.product(dd...)
println(c)
end