develooper Front page | perl.perl6.language.data | Postings from September 2000

Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes and slices

Thread Previous | Thread Next
From:
Karl Glazebrook
Date:
September 18, 2000 05:55
Subject:
Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes and slices
Message ID:
39C610FC.D7573A1@pha.jhu.edu
Hi Ilya,

I have three questions about your RFC:

Firstly does your proposal allow for a slice like 10..20:2  (i.e. with
a stride of 2) ?

If not is there an easy way to incorporate that?

Secondly, what about having multidim support in the core so that the
tie-tokenisers get optimised away? i.e. would we be able to
say something like:

@x = @y[10..20; 1..3]

for core arrays

Finally as an overload expert what do you think about the proposals
to make arrays overloadable objects so one can say things like:

@x = 3 * @y;


Katl

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About