Skip to content

Commit 74dbf1c

Browse files
committed
link to subscripts
1 parent d11caf6 commit 74dbf1c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/Type/Array.pod6

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
An C<Array> is a L<List> which forces all its elements to be
1010
scalar containers, which means you can assign to array elements.
1111
12+
C<Array> implements C<Positional> and as such provides support for
13+
L<subscripts|/language/subscripts>.
14+
1215
=head1 Methods
1316
1417
=head2 routine pop

doc/Type/List.pod6

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Indexes into lists and arrays start at 0 by default.
1414
You can assign to list elements if they are containers. Use
1515
Arrays to have every value of the list stored in a container.
1616
17+
C<List> implements C<Positional> and as such provides support for
18+
L<subscripts|/language/subscripts>.
19+
1720
=head1 Items, Flattening and Sigils
1821
1922
In Perl 6, assigning a C<List> to a scalar variable does not lose

0 commit comments

Comments
 (0)