julia> CartesianIndices((0, 0:7, 0))
1×8×1 CartesianIndices{3,Tuple{UnitRange{Int64},UnitRange{Int64},UnitRange{Int64}}}:
[:, :, 1] =
CartesianIndex(0, 0, 0) … CartesianIndex(0, 7, 0)
julia> CartesianIndices((0, 0:7, 0))
0×8×0 CartesianIndices{3, Tuple{Base.OneTo{Int64}, UnitRange{Int64}, Base.OneTo{Int64}}}