Given [[0,0,0],[1,1,1]]
and [[4,5,6],[7,8,9],[10,11,12]]
, how can I get
[
[[0,0,0],[4,5,6],[7,8,9],[10,11,12]],
[[1,1,1],[4,5,6],[7,8,9],[10,11,12]],
]
Not quite right:
julia> vcat.(([[0,0,0],[1,1,1]]), Ref([[4,5,6],[7,8,9],[10,11,12]]))
2-element Vector{Vector{Any}}:
[0, 0, 0, [4, 5, 6], [7, 8, 9], [10, 11, 12]]
[1, 1, 1, [4, 5, 6], [7, 8, 9], [10, 11, 12]]