Riffle¶ Inserts an element between each pair of elements. $ wo 'Riffle[{a, b, c}, x]' {a, x, b, x, c} $ wo 'Riffle[{1, 2, 3, 4}, 0]' {1, 0, 2, 0, 3, 0, 4} $ wo 'Riffle[{a}, x]' {a} $ wo 'Riffle[{}, x]' {} Element-wise interleaving with a second list: $ wo 'Riffle[{a, b, c, d}, {1, 2, 3, 4}]' {a, 1, b, 2, c, 3, d, 4} $ wo 'Riffle[{a, b, c}, {1, 2}]' {a, 1, b, 2, c}