Howto correctly (hijack) fill an array with formula over indices?

Don’t define that method for fill, it is type piracy.

IMO array comprehension, suggested by @c42f, is your current best option.

There is also Iterators.product. See

and for some suggested changes