fails on Julia 1.09 and 1.10-beta3, but eachcol(ones(3)) produces a ColumnSlices. In fact, test.arrayops.jl has a test for the latter on line 2275. Also, selectdim(ones(3),2,1) and view(ones(3),:,1) work.
This difference (inconsistency?) is inconvenient.
fails on Julia 1.09 and 1.10-beta3, but
eachcol(ones(3))produces aColumnSlices. In fact,test.arrayops.jlhas a test for the latter on line 2275. Also,selectdim(ones(3),2,1)andview(ones(3),:,1)work.This difference (inconsistency?) is inconvenient.