S
Simon Strandgaard
A proposal:
[1, 2, 3, 4, 5, 6].join(0) #-> [1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6]
I would like to interleave an arrray with another element.
This is similar to what the current Array#join does, except that
it converts the elements to strings.
Maybe find a better name, for instance #interleave.
[1, 2, 3, 4, 5, 6].join(0) #-> [1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6]
I would like to interleave an arrray with another element.
This is similar to what the current Array#join does, except that
it converts the elements to strings.
Maybe find a better name, for instance #interleave.