|
6 | 6 |
|
7 | 7 | class Any is Mu {}
|
8 | 8 |
|
9 |
| -While L<Mu|/type/Mu> is the root of the Perl 6 class hierarchy, L<Any|/type/Any> is the |
10 |
| -class that serves as a default base class for new classes, and as the |
| 9 | +While L<Mu|/type/Mu> is the root of the Perl 6 class hierarchy, L<Any|/type/Any> |
| 10 | +is the class that serves as a default base class for new classes, and as the |
11 | 11 | base class for most built-in classes.
|
12 | 12 |
|
13 |
| -Since Perl 6 intentionally confuses items and single-element lists, most |
14 |
| -methods in L<Any|/type/Any> are also present on class L<List|/type/List>, and coerce to |
| 13 | +Since Perl 6 intentionally confuses items and single-element lists, most methods |
| 14 | +in L<Any|/type/Any> are also present on class L<List|/type/List>, and coerce to |
15 | 15 | List or a list-like type.
|
16 | 16 |
|
17 | 17 | =head1 Methods
|
@@ -1044,7 +1044,6 @@ Latin script generally is for case, and also disable quaternary which breaks
|
1044 | 1044 | any ties by checking the codepoint values of the strings, we get B<Same> back
|
1045 | 1045 | for B<A> and B<a>:
|
1046 | 1046 |
|
1047 |
| - use experimental :collation; |
1048 | 1047 | $*COLLATION.set(:quaternary(False), :tertiary(False));
|
1049 | 1048 | say 'a' coll 'A'; #OUTPUT: «Same»
|
1050 | 1049 | say ('a','A').collate == ('A','a').collate; # OUTPUT: «True»
|
@@ -1072,4 +1071,4 @@ L«C<List.batch>|/type/List#method_batch» on it.
|
1072 | 1071 |
|
1073 | 1072 | =end pod
|
1074 | 1073 |
|
1075 |
| -# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6 |
| 1074 | +# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6 |
0 commit comments