This is perfect --- I think I will end up with something like typealias NCA Any
and then I can use NCA[1,2,[3,4]] and later on remove NCA from my code easily. Thanks, Tamas On Mon, Apr 13 2015, Matt Bauman <[email protected]> wrote: > Is this what you're after? I think this should still work after the > concatenation change is applied. > > julia> Any[1,2,[3,4]] > 3-element Array{Any,1}: > 1 > 2 > [3,4] > > > On Monday, April 13, 2015 at 8:55:19 AM UTC-4, Tamas Papp wrote: >> >> Hi, >> >> I have been following issue 7128 [1] and the related other issues, and >> noticed that constructs like [1,2,[3,4]] give a warning in the dev >> version I am using at the moment (v"0.4.0-dev+4219"), but I am wondering >> if there is a construct that I can use for non-concatenating vector >> creation _at the moment_, that is reasonably future-proof (eg it works >> for a couple of months and when it does not, it fails with an error). >> >> Best, >> >> Tamas >> >> [1] https://github.com/JuliaLang/julia/issues/7128 >> >>
