Skip to content

Commit

Permalink
Changes internal to external links, closes #2411
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Oct 29, 2018
1 parent 587d1d4 commit c6cb792
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions doc/Type/Cool.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ code point.
say 'a'.ord; # OUTPUT: «97␤»
The inverse operation is L<chr|#method chr>.
The inverse operation is L<chr|/routine/chr>.
Mnemonic: returns an ordinal number
Expand All @@ -708,13 +708,14 @@ Defined as:
sub chr(Int(Cool))
method chr()
Coerces the invocant (or in sub form, its argument) to L<Int|/type/Int>, interprets it as a
L<Unicode code points|https://en.wikipedia.org/wiki/Code_point>,
and returns a L<string|/type/Str> made of that code point.
Coerces the invocant (or in sub form, its argument) to L<Int|/type/Int>,
interprets it as a
L<Unicode code points|https://en.wikipedia.org/wiki/Code_point>, and returns a
L<string|/type/Str> made of that code point.
say '65'.chr; # OUTPUT: «A␤»
The inverse operation is L<ord|#method ord>.
The inverse operation is L<ord|/routine/ord>.
Mnemonic: turns an integer into a I<char>acter.
Expand Down Expand Up @@ -972,9 +973,9 @@ Defined as:
sub uniname(Str(Cool) --> Str)
method uniname(--> Str)
Interprets the invocant / first argument as a L<Str|/type/Str>, and returns the
Interprets the invocant or first argument as a L<Str|/type/Str>, and returns the
Unicode codepoint name of the first codepoint of the first character. See
L<uninames|#routine_uninames> for a routine that works with multiple
L<uninames|/routine/uninames> for a routine that works with multiple
codepoints, and L<uniparse> for the opposite direction.
# Camelia in Unicode
Expand All @@ -994,7 +995,8 @@ Defined as:
sub uninames(Str:D)
method uninames()
Returns of a Seq of Unicode names for the all the codepoints in the Str provided.
Returns of a Seq of Unicode names for the all the codepoints in the Str
provided.
say ‘»ö«’.uninames.perl;
# OUTPUT: «("RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK", "LATIN SMALL LETTER O WITH DIAERESIS", "LEFT-POINTING DOUBLE ANGLE QUOTATION MARK").Seq␤»
Expand Down

0 comments on commit c6cb792

Please sign in to comment.