I have a list, say $\{1,2,3,4\}$ and I would like to repeat this list k times to obtain a list of $4k$ elements that looks like $\{1,2,3,4,1,2,..,1,2,3,4\}$.
I was hoping something like li * k
would do this but unfortunately that's pointwise multiplication. What's the right operator that would do something like this for me?