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
In reply to Re: Yet Another Way To Get Involved With Perl6
by ank
in thread Yet Another Way To Get Involved With Perl6
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |