Like getindex, but returns a view into the parent array A with the given indices instead of making a copy. Calling getindex or setindex! on the returned SubArray computes the indices to the parent array on the fly without checking bounds.
However, bounds are checked in practice:
view([1,2,3], 1:2) # triggers an error
Am I reading it right? It seems inconsistent.