It used to be that [[1,2],[3,4]] would try to concatenate the two vectors
into [1,2,3,4], which was inconsistent with Vector{Int}[[1,2],[3,4]] (which
returns a vector of vectors).
That syntax was deprecated in v0.4.x, and in v0.5 now means the same thing
(and the same as in any other language I've dealt with, a vector of
vectors).
That makes life a lot easier for people coming from JavaScript, Python, etc.
There is now also the possibility of using arbitrarily based arrays (and
even "permuted index" arrays, which means you can handle row-major arrays
now much easier), thanks to Tim Holy's wonderful (as always) contributions.
Great stuff, that will cut down a lot of complaints about only having
1-based, column major arrays in Julia.
On Friday, July 8, 2016 at 10:10:52 AM UTC-4, Daniel Carrera wrote:
>
>
> On Friday, 8 July 2016 16:01:25 UTC+2, Scott Jones wrote:
>>
>> We are looking forward to being able to use v0.5, with fast anonymous
>> functions, cleaner array syntax, Gallium debugger and C++, and many many
>> other improvements
>>
>
> Cleaner array syntax? Tell me more?
>
>
>
>> (although the string changes mean we need to be careful not to use
>> Julia's base String type - currently we use ASCIIString/UTF16String for
>> performance reasons), but we aren't at all dependent on it (or v1.0, for
>> that matter).
>>
>
> Yeah.
>
>