mingle (v,w,...) -- does the same.
When one of the lists is exhausted, it is ignored.
i1 = mingle({1,2,3,4},{a},{F,F,F,F,F,F,F,F,F,F}) o1 = {1,a,F,2,F,3,F,4,F,F,F,F,F,F,F} o1 : List
i2 = concatenate mingle( apply(5,name) , apply(4,i->",") ) o2 = "0,1,2,3,4"
i3 = pack(mingle {{1,2,3},{4,5,6}}, 2) o3 = {{1,4},{2,5},{3,6}} o3 : List
Go to main index.
Go to concepts index.