Is this the expected behavior?
julia> mapslices(x->tuple(x), [1 2; 3 4], 1)
1×2 Array{Tuple{Array{Int64,1}},2}:
([2,4],) ([2,4],)
julia> mapslices(x->tuple(x...), [1 2; 3 4], 1)
1×2 Array{Tuple{Int64,Int64},2}:
(1,3) (2,4)
The first case certainly came as pretty unexpected to me. Does it have
something to do with copies vs views into the array?
