In python if I create a list like: 
[[1,2,3], 2, [1,2]]   or [[true]]

They retain their structure.  In Julia all the nesting vanishes.

E.g. they become (essentially):  [1,2,3,2,1,2] and [true]

Two questions:
- what is this process of "auto-de-nesting" called?  (I'm assuming there is 
a word for this)
- What would be the idiomatic way of creating the nested lists as above so 
they retrain their structure?

Thanks,

dustin

Reply via email to