Skip to content

Commit 7e80010

Browse files
committed
index [ ] for typed arrrays
1 parent c0b12ff commit 7e80010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/list.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ can sometimes be harder to maintain laziness or work with infinite sequences.
339339
340340
=head2 Typing
341341
342-
X<|typed array>
342+
X<|typed array>X<|[ ] (typed array)>
343343
Arrays may be typed such that their slots perform a typecheck whenever
344344
they are assigned to. An Array that only allows C<Int> values to be assigned
345345
is of type C<Array[Int]> and one can create one with C<Array[Int].new>. If

0 commit comments

Comments
 (0)