I would like to create a composite type and then also create an array that has values from this type by reference. The behaviour I am looking for is like this:
type c a::Float64 b::Float64 end x=c(0.1,0.2) y=c(0.3,0.4) z=[x.a,x.b,y.a,y.b] show(z) [0.1,0.2,0.3,0.4] x.a=0.5 show(z) [0.5,0.2,0.3,0.4] z[4]=0.6 show(y.b) 0.6 Is this possible? Thanks, Jon
