On Sat, Sep 04, 2004 at 09:47:29AM +0200, Leopold Toetsch wrote: : John Williams <[EMAIL PROTECTED]> wrote: : : > What happens when the Pascal programmer declares : : > my int @ints is shape(-10..10); : : Should that really all be in core? Why not let the user create his own : derived array that does what she wants?
That's sort of what we're doing here. Normal arrays have no shape and are 0-based. : Honestly I don't see the point why all "normal" array usage should be : slowed down just for the sake of some rare usage patterns. Does it have to? Couldn't it have a different vtable? (Which argues that such a shape ought to be considered an parameterization of the implementation type. (Which argues that it should be "of shape" rather than "is shape"...).) Larry