Generic array-view type with APL indexing semantics