Skip to content

Commit

Permalink
Describes cmp better closes #1036
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed May 2, 2018
1 parent 7c14364 commit 747571c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Order.pod6
Expand Up @@ -12,7 +12,7 @@
multi sub infix:<cmp>(\a, \b --> Order:D)
Coerces its arguments to Stringy.
C<cmp> will first try to compare operands as strings (via coercion to L<Stringy>), and, failing that, will try to compare numerically via the C«<=>» operator or any other type-appropriate comparison operator. See also L<the documentation for the C<cmp> operator|https://docs.perl6.org/routine/cmp#(Operators)_infix_cmp>.
=head2 infix <=>
Expand Down

0 comments on commit 747571c

Please sign in to comment.