Skip to content

Commit

Permalink
Merge pull request #2318 from MorayJ/cool-routine-fixes
Browse files Browse the repository at this point in the history
Changes routine headlines
  • Loading branch information
zoffixznet committed Sep 18, 2018
2 parents 9d4abe5 + 004b45f commit 7060d26
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/Type/Cool.pod6
Expand Up @@ -283,7 +283,7 @@ radians.
say atan2(3); # OUTPUT: «1.24904577239825␤»
say 3.atan2; # OUTPUT: «1.24904577239825␤»
=head2 method sec
=head2 routine sec
Defined as:
Expand Down Expand Up @@ -563,7 +563,7 @@ of 10. Returns C<NaN> for negative arguments and C<-Inf> for C<0>.
say log10(1001); # OUTPUT: «3.00043407747932␤»
=head2 method exp
=head2 routine exp
Defined as:
Expand Down Expand Up @@ -918,7 +918,7 @@ C<$pattern> is applied to the remaining characters of C<$string>.
say "perL 6".samecase("A__a__"); # OUTPUT: «Perl 6␤»
say "pERL 6".samecase("Ab"); # OUTPUT: «Perl 6␤»
=head2 method uniprop
=head2 routine uniprop
Defined as:
Expand All @@ -937,7 +937,7 @@ Returns a Bool for Boolean properties.
say 'a'.uniprop('Alphabetic'); # OUTPUT: «True␤»
say '1'.uniprop('Alphabetic'); # OUTPUT: «False␤»
=head2 method uniprops
=head2 sub uniprops
Defined as:
Expand All @@ -950,7 +950,7 @@ L<General Category|https://en.wikipedia.org/wiki/Unicode_character_property#Gene
Returns a Bool for Boolean properties. Similar to L<uniprop|/routine/uniprop>
=head2 method uniname
=head2 routine uniname
Defined as:
Expand All @@ -972,7 +972,7 @@ codepoints, and L<uniparse> for the opposite direction.
say (0..0x1FFFF).sort(*.uniname.chars)[*-1].chr.uniname;
# OUTPUT: ««ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA INITIAL FORM␤»␤»
=head2 method uninames
=head2 routine uninames
Defined as:
Expand All @@ -992,7 +992,7 @@ codepoints in that character.
See L<uniparse> for the opposite direction.
=head2 method unimatch
=head2 routine unimatch
Defined as:
Expand Down Expand Up @@ -1261,7 +1261,7 @@ Returns an undefined value if C<$needle> wasn't found.
See L<the documentation in type Str|/type/Str#routine_rindex> for examples.
=head2 routine match
=head2 method match
Defined as:
Expand Down Expand Up @@ -1402,7 +1402,7 @@ C<EVAL> is also a gateway for executing code in other languages:
=for code
EVAL "use v5.20; say 'Hello from perl5!'", :lang<Perl5>;
=head2 routine EVALFILE
=head2 sub EVALFILE
Defined as:
Expand Down

0 comments on commit 7060d26

Please sign in to comment.