diff --git a/doc/Type/Array.pod6 b/doc/Type/Array.pod6 index 22b5765b..73c6c90d 100644 --- a/doc/Type/Array.pod6 +++ b/doc/Type/Array.pod6 @@ -222,10 +222,13 @@ argument—the number of elements in C<@list>—and its return value is used as C<$start>. A C C<$elems> deletes from C<$start> to end of -C<@list> (same as no C<$elems>). A C C<$elements> is called with +C<@list> (same as no C<$elems>). A C C<$elems> is called with just one argument—the number of elements in C<@list> minus the value of C<$start>—and its return value is used the value of C<$elems>. +If both C<$start> and C<$elems> are omitted, all elements are deleted from +the C and returned. + Example: my @foo = ;