Skip to content

Commit 2e980b2

Browse files
committed
move index entry for empty list to List
1 parent eed4ffb commit 2e980b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/Language/operators.pod6

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ appropriate number.
396396
397397
The X<grouping operator>.
398398
399-
X<|(),empty list>
400399
An empty group C<()> creates an empty L<List> .
401400
Parentheses around non-empty expressions simply structure the expression, but
402401
not have additional semantics.

doc/Type/List.pod6

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ Slurpy parameters (C<*@a>) flatten non-itemized sublists:
6464
say fe(<a b>, <d e>); # 4
6565
say fe(<a b>, <d e>.item); # 3
6666
67-
The empty list is created with C<()>. Smartmatching against the empty list will
68-
check for the absence of elements.
67+
<|(),empty list>
68+
The emtpy list is created with C<()>. Smartmatching against the empty list will
69+
check for the absense of elements.
6970
7071
my @a;
7172
for @a, @a.list, @a.Seq -> \listoid {

0 commit comments

Comments
 (0)