You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not working
m: ((1, 2, 3), (4, 5), (6, 7, 8, 9)).roundrobin.say
rakudo-moar 1ee89b5: OUTPUT: «No such method 'roundrobin' for invocant of type 'List' in block at line 1»
I would expect, the output to be the same for both invocations listed above. As per the docs, roundrobin is listed as a method of List objects.
Operating system:
This has been tested under a 32-bit Linux VM, and reproduced on camelia in the #perl6 IRC channel.
Compiler version (perl6 -v):
This is Rakudo version 2017.10-4-g4fca94743 built on MoarVM version 2017.10
implementing Perl 6.c.
The text was updated successfully, but these errors were encountered:
I'm −⅓ on making this a method and would propose the docs to be fixed instead.
Thematically this routine operates on a bunch of lists so making it a method on a list is a bit outside of that, despite the subroutine using +@ slurpy semantics.
I'm −⅓ on making this a method and would propose the docs to be fixed instead.
I was convinced that we had a .zip method, but turns out that we don't (only for supplies but that's unrelated). So yeah, I'm not sure what is the justification for having it.
-⅔, I think this is rejectable once a ticket for docs is created (or if it's fixed right away).
List.roundrobin does not work as a method on List objects. See the following output:
Working
m: say (roundrobin ((1, 2, 3), (4, 5), (6, 7, 8, 9)))
rakudo-moar 1ee89b5: OUTPUT: «((1 4 6) (2 5 7) (3 8) (9))»
Not working
m: ((1, 2, 3), (4, 5), (6, 7, 8, 9)).roundrobin.say
rakudo-moar 1ee89b5: OUTPUT: «No such method 'roundrobin' for invocant of type 'List' in block at line 1»
I would expect, the output to be the same for both invocations listed above. As per the docs, roundrobin is listed as a method of List objects.
This has been tested under a 32-bit Linux VM, and reproduced on camelia in the #perl6 IRC channel.
perl6 -v):The text was updated successfully, but these errors were encountered: