We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b89a45 commit c3fa8eaCopy full SHA for c3fa8ea
S17-concurrency.pod
@@ -644,8 +644,8 @@ Conjecture: this is going to end up looking more like:
644
my @as;
645
my @bs;
646
combine $a, $b -> $out {
647
- more * -> $val {
648
- ($:k ?? @bs !! @as).push($val);
+ more * {
+ ($:k ?? @bs !! @as).push($_);
649
if @as && @bs {
650
$out.more(with(@as.shift, @bs.shift));
651
}
@@ -658,8 +658,8 @@ or even:
658
method zip(*@in, :&with = &infix:<,>) {
659
my @streams = [] xx @in;
660
combine @in -> $out {
661
662
- @streams[$:k].push($val);
+ @streams[$:k].push($_);
663
if all @streams».elems > 0 {
664
$out.more(with(|@streams));
665
0 commit comments