Generalises concatenation over sequences, sidesteps problems with Array.concat.
More idiomatic as-array.