Riffle
Riffle(list1, list2)
insert elements of
list2
between the elements oflist1
.
Examples
>> Riffle({a, b, c}, x){a,x,b,x,c}
>> Riffle({a, b, c}, {x, y, z}){a,x,b,y,c,z}
Implementation status
- ✅ - full supported
Riffle(list1, list2)
insert elements of
list2
between the elements oflist1
.
>> Riffle({a, b, c}, x){a,x,b,x,c}
>> Riffle({a, b, c}, {x, y, z}){a,x,b,y,c,z}