in reply to Yet Another Way To Get Involved With Perl6
A few days ago I was looking for a small task to help within Perl 6 development while learning it. After asking around, I started looking at the perl6-language archives and AES for reference. Wanting to try some code using loops, I read about zip(). I found a few different (and somewhat conflicting?) references to the ways it cuold be used:
zip(@a,@b,...) zip(@a;@b;...) zip(@a,@b,...,by=>3) zip(@a=>3,@b=>2,...)
It wasn't clear whether by should be supported or not, whether it should have semi-colons or commas as argument separators and whether the numeric options should work or were dropped entirely. As far as I could tell, the svn version of pugs only accepts the first form. I also found a discussion about zip() and weave() - but couldn't find weave() anywhere else.
Of course, I'm new to perl6, so I know almost nothing about how these should work within pugs or in a more finished perl6 (and I'm surely missing information!).
Having some documentation dealing with issues like these would help a lot of people in my position to get up to speed with it.
-- ank
Update Fixed grammar, spelling
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Yet Another Way To Get Involved With Perl6
by TimToady (Parson) on Jun 11, 2005 at 17:24 UTC | |
by ank (Scribe) on Jun 11, 2005 at 21:00 UTC |