If you are given a 2x2 pattern such as
1 0
0 1
how can you build a larger pattern consisting of an arbitrary number of repetitions of the 2x2 pattern?
For example, let’s say you wanted to build a checkerboard pattern out of the pattern above, i.e.,
1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1
1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1
1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1
1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1
I’d like to think of this as building a 4x4 array of 1 0 but Q’s list orientation apparently won’t let me. So what is Q way to think of this problem?
0 1