Well, you should be able to just nest it: [ Bother(zeros(Int64,10), [Bother(zeros(Int64,10), zeros(20)) for y in 1:20 ]) for x in 1:2 ]
On Sunday, January 26, 2014 2:37:49 PM UTC+2, Jon Norberg wrote: > > I mean like: a = [ Bother(zeros(Int64,10), ArrayOf{Bother}) for x in 1:2 ] > > On Sunday, January 26, 2014 1:28:49 PM UTC+1, Jon Norberg wrote: >> >> Actually, one more question, can I in the creation of a = [ Bother(zeros >> (Int64,10), zeros(20)) for x in 1:2 ] also put in a vector of custom >> types e.g. a type of "Bother"? >> >