Skip to content

Commit 2e4a143

Browse files
committed
Reflow and fix
1 parent 7cc85a7 commit 2e4a143

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

doc/Type/Any.pod6

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,10 @@ Defined as:
10231023
10241024
method collate(--> Seq)
10251025
1026-
Collate sorts taking into account Unicode grapheme characteristics; that is, sorting more or less as one would expect instead of using the order in which their codepoints appear. Collate will behave this way if the object it is applied to is Iterable.
1026+
Collate sorts taking into account Unicode grapheme characteristics; that is,
1027+
sorting more or less as one would expect instead of using the order in which
1028+
their codepoints appear. Collate will behave this way if the object it is
1029+
applied to is Iterable.
10271030
10281031
=begin code
10291032
say ('a', 'Z').sort; # (Z a)
@@ -1033,11 +1036,11 @@ my %hash = 'aa' => 'value', 'Za' => 'second';
10331036
say %hash.collate; # (aa => value Za => second);
10341037
=end code
10351038
1036-
These methods are affected by the
1037-
X<B<$*COLLATION>|$*COLLATION>, which configures the four X<collation levels>.
1038-
While the Primary, Secondary and Tertiary mean different things for different scripts,
1039-
for the Latin script used in English they mostly correspond with Primary being Alphabetic,
1040-
Secondary being Diacritics and Tertiary being Case.
1039+
These methods are affected by the X<B<$*COLLATION>|$*COLLATION> variable, which
1040+
configures the four X<collation levels>. While the Primary, Secondary and
1041+
Tertiary mean different things for different scripts,g for the Latin script used
1042+
in English they mostly correspond with Primary being Alphabetic, Secondary being
1043+
Diacritics and Tertiary being Case.
10411044
10421045
In the example below you can see how when we disable tertiary collation which in
10431046
Latin script generally is for case, and also disable quaternary which breaks

0 commit comments

Comments
 (0)