in reply to Re: Yet Another Way To Get Involved With Perl6
in thread Yet Another Way To Get Involved With Perl6
needs to be equivalent tozip(@a;@b;@c)
There are no optional arguments to zip() that I'm aware of, but if there were any, they'd have to come in before the semicolon lists. In other words, semicolon lists are not ordinary positional arguments. They're a way of ordering multiple variadic inputs, invented originally to handle multidimensional slice subscripts, but since then generalized to work with any signature that recognizes them (though what exactly in the signature recognizes them is still somewhat open to negotiation).zip <== @a <== @b <== @c
However, there are no general guidelines for how to document the as-yet undesigned parts of the design. The best you can do is to make a guess consistent with the current design and see if anyone carps about it. A certain willingness to be sincerely misguided goes with the territory. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Yet Another Way To Get Involved With Perl6
by ank (Scribe) on Jun 11, 2005 at 21:00 UTC |