Skip to content

Commit

Permalink
Update list.pod6
Browse files Browse the repository at this point in the history
  • Loading branch information
frithnanth committed Nov 1, 2020
1 parent 87e5ad6 commit 554c9d9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/Language/list.pod6
Expand Up @@ -214,6 +214,15 @@ L<===|/routine/===> infix operator. If you want to use another way to
compare values, you probably should use
L<first|/routine/first#(List)_routine_first>.
To test C<List> or C<Array> equality as sets you can use the
L<"equality"|/language/setbagmix@infix_(==),_infix_≡>
L<C<Set>|/type/Set> operator.
my @a = 1, 2, 3;
my @b = 3, 1, 2;
say @a (==) @b; # OUTPUT: «True␤»
say @a ≡ @b; # same, using unicode version of operator
=head2 Sequences
Not all lists are born full of elements. Some only create as many
Expand Down

0 comments on commit 554c9d9

Please sign in to comment.