News for hackers. Stuff that matters.
Re:Julia 1.0 by 3JPLW on Thursday August 09, 2018 @11:28AM (#17724998)
Sure can:

    # Magic
    julia> Base.to_indices(A, inds, I::Tuple{Complex, Vararg{Any}}) = (real(I[1]), imag(I[1]), to_indices(A, Base._maybetail(Base._maybetail(inds)), Base.tail(I))...)

    julia> A
    4×5 reshape(::UnitRange{Int64}, 4, 5) with eltype Int64:
     1  5   9  13  17
     2  6  10  14  18
     3  7  11  15  19
     4  8  12  16  20

    julia> A[3 + 2im]
    7
```

There are no comments on this comment yet.