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

Re: RFC 272 (v1) Arrays: transpose()

Thread Previous | Thread Next
From:
Jeremy Howard
Date:
September 24, 2000 04:30
Subject:
Re: RFC 272 (v1) Arrays: transpose()
Message ID:
002301c0261a$d38f8f60$0100a8c0@jeremy
c.soeller@auckland.ac.nz wrote:
> Jeremy Howard wrote:
>
> > So where is mv(), you ask? If you use the 'reorder' syntax, but don't
> > specify all of the dimensions in the list ref, then the remaining
dimensions
> > are added in order:
>
> That sounds good. I'd say why not also allow the mv syntax? It is
> syntactically different from the others, may be the least often used
> variant but then there are N+1 ways to do it ;) But no strong feelings
> either way...
>
It might be best avoided, because it's weird to see hash refs used as
parameters to builtins in this way. I'll tell you what... I'll add it in as
an 'optional extra'. That way people who don't like it can't use it as an
excuse to belittle the whole proposal...



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