Aaron Sherman wrote:
On Sun, Aug 2, 2009 at 1:10 PM, Moritz Lenz <mor...@faui2k3.org> wrote:
Let's pick up this old mail before it gets completely warnocked ;-)
For the record, this discussion only applies to scalar implementation
types. For example for Arrays I expect things to work by overriding the
method postcircumfix:<[ ]>.
Really? What about:
my ImplementationType @foo;
@foo = 1..Inf;
That would mean that you want an Array in which you could only store
things of ImplementationType, rather than setting the implementation
type of the array. Use 'is' for that (and the thing that you implement
as an implementation type should do the Positional role and implement
postcircumfix:<[ ]> unless you inherited one).
Jonathan