@@ -638,10 +638,10 @@ Defined as:
638
638
Creates a L < Seq > from 1-item list's iterator and uses
639
639
L « C < Seq.skip > |/type/Seq#method_skip» on it.
640
640
641
- You can apply them to classes too, resulting in empty lists or lists that
642
- contain a single class. This is not a real use case, and it is mostly intended
643
- to show the calling syntax. Please note that calling C < skip > without argument is
644
- equivalente to C < skip(1) > .
641
+ You can apply them to classes too, resulting in empty lists or lists
642
+ that contain a single class. This is not a real use case, and it is
643
+ mostly intended to show the calling syntax. Please note that calling
644
+ C < skip > without argument is equivalente to C < skip(1) > .
645
645
646
646
say Any.skip; # OUTPUT: «()»
647
647
say Any.skip(5); # OUTPUT: «()»
@@ -655,8 +655,9 @@ Defined as:
655
655
multi method prepend(--> Array)
656
656
multi method prepend(@values --> Array)
657
657
658
- Initializes L < Any > variable as empty L < Array > and calls
659
- L « C < Array.prepend > |/type/Array#method_prepend» on it.
658
+ Called with no arguments on an empty variable, it initializes it as an
659
+ empty L < Array > ; if called with arguments, it creates an array and then
660
+ applies L « C < Array.prepend > |/type/Array#method_prepend» on it.
660
661
661
662
my $a;
662
663
say $a.prepend; # OUTPUT: «[]»
0 commit comments