I am stuck, trying to make a patch that will do:
Given 2 lists, for example:
(1 2 3 4)
(9 10 11)
it will interlace them randomly, each of the original 2 lists is in order, but interspersed with the other list, also in order:
(1 2 9 3 10 11 4)
(9 1 2 10 11 3 4)
(1 2 3 9 10 4 11)
etc…
are all correct solutions.
(In other words, I am asking for a random solution to a partially-ordered set, I believe).
I was trying to build a patch to do this with OMLOOP, but it involves multiple ListLoops. Maybe I can figure it out, but I’m sure someone else has done this before.
Anybody?
—Chris Bailey