Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2561 from perl6/ufobat-patch-1
Fixed array slice with [0..^*]
  • Loading branch information
JJ committed Jan 13, 2019
2 parents 6e390bd + 24babc1 commit 69e7e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/list.pod6
Expand Up @@ -475,7 +475,7 @@ mathematicians that C<Inf> equals C<Inf-1>.
say @a[0..2]; # OUTPUT: «(1 2 3)␤»
say @a[0..^2]; # OUTPUT: «(1 2)␤»
say @a[0..*]; # OUTPUT: «(1 2 3 4 5)␤»
say @a[0..^*]; # OUTPUT: «(1 2 3 4 5)␤»
say @a[0..^*]; # OUTPUT: «(1 2 3 4)␤»
say @a[0..Inf-1]; # OUTPUT: «(1 2 3 4 5)␤»
=head2 Array constructor context
Expand Down Expand Up @@ -749,4 +749,4 @@ creature should never be passed back to unsuspecting users.
=end pod

# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 comments on commit 69e7e3a

Please sign in to comment.