Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed references to deprecated Order::Increase and Order::Decrease …
…to Order::Less and Order::More
  • Loading branch information
Jan-Olof Hendig committed Oct 1, 2016
1 parent 09662f5 commit 5252066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/Language/5to6-perlfunc.pod6
Expand Up @@ -1325,7 +1325,7 @@ Not currently documented, but will likely wind up in C<IO::Socket>.
C<sort> exists in Perl 6, but is somewhat different. C<$a> and C<$b> are
no longer special (See L<5to6-perlvar>) and sort routines no
longer return positive integers, negative integers, or 0, but rather
C<Order::Increase>, C<Order::Same>, or C<Order::Decrease> objects. See
C<Order::Less>, C<Order::Same>, or C<Order::More> objects. See
L<sort|/routine/sort> for details. May also be used as a
method I. e. C<sort(@a)> is equivalent to C<@a.sort>.
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/List.pod6
Expand Up @@ -562,7 +562,7 @@ is used for comparing list elements.
If C<&by> is provided, and it accepts two arguments,
it is invoked for pairs of list elements, and should return
C<Order::Increase>, C<Order::Same> or C<Order::Decrease>.
C<Order::Less>, C<Order::Same> or C<Order::More>.
If C<&by> accepts only one argument, the list elements are sorted
according to C<< by($a) cmp by($b) >>. The return values of C<&by> are
Expand Down

0 comments on commit 5252066

Please sign in to comment.