Looking for the right structure

question

#1

Is there any Array-like construct that allows me to index with non-Ints and that recognizes the meaning of : in accessing elements as in an Array? It’d be nice to be able to call norm on it as well.


#2