Skip to content

Commit c3fa8ea

Browse files
committed
remove sig collision with placeholders
1 parent 2b89a45 commit c3fa8ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

S17-concurrency.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,8 @@ Conjecture: this is going to end up looking more like:
644644
my @as;
645645
my @bs;
646646
combine $a, $b -> $out {
647-
more * -> $val {
648-
($:k ?? @bs !! @as).push($val);
647+
more * {
648+
($:k ?? @bs !! @as).push($_);
649649
if @as && @bs {
650650
$out.more(with(@as.shift, @bs.shift));
651651
}
@@ -658,8 +658,8 @@ or even:
658658
method zip(*@in, :&with = &infix:<,>) {
659659
my @streams = [] xx @in;
660660
combine @in -> $out {
661-
more * -> $val {
662-
@streams[$:k].push($val);
661+
more * {
662+
@streams[$:k].push($_);
663663
if all @streams».elems > 0 {
664664
$out.more(with(|@streams));
665665
}

0 commit comments

Comments
 (0)