I assume the first line should be 

> X = [1,2]; Y = [3,4];

Then the results you get makes sense. The thing is that julia has mutable 
arrays, and the ! at the end of append! indicates that it is a function that 
mutates it's argument.

Reply via email to