Skip to content

Commit 9957486

Browse files
MorayJJJ
authored andcommitted
Fix slip example error
1 parent 07c6231 commit 9957486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Slip.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ it behaves closer to the C<.Slip> method than the C<slip> subroutine.
3636
=for code
3737
my $l = (1, 2, 3);
3838
say (1, slip 2, 3).raku; # says (1, 2, 3) , slips 2, 3 into (1, …)
39-
say (0, slip $l).raku; # says (0, $(1, 2, 3)), $l does not break apart
39+
say (0, slip $l).raku; # says (0, 1, 2, 3) , slips from $l into (0, …)
4040
say (0, $l.Slip).raku; # says (0, 1, 2, 3) , slips from $l into (0, …)
4141
say (|$l).raku; # says slip(1, 2, 3) , breaks apart $l
4242
say (0, (|$l, 4), 5); # says (0 (1 2 3 4) 5), slips from $l into (…, 4)

0 commit comments

Comments
 (0)