Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
prefer american spelling
  • Loading branch information
coke committed Feb 8, 2019
1 parent 9d9c65b commit 3b91438
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions doc/Language/101-basics.pod6
Expand Up @@ -391,18 +391,18 @@ the postcircumfix.
=head3 X<C<Zen slice>| Zen slice (Basics)>
=begin code
my @flavours = <vanilla peach>;
my @flavors = <vanilla peach>;
say "we have @flavours"; # OUTPUT: «we have @flavours␤»
say "we have @flavours[0]"; # OUTPUT: «we have vanilla␤»
say "we have @flavors"; # OUTPUT: «we have @flavors␤»
say "we have @flavors[0]"; # OUTPUT: «we have vanilla␤»
# so-called "Zen slice"
say "we have @flavours[]"; # OUTPUT: «we have vanilla peach␤»
say "we have @flavors[]"; # OUTPUT: «we have vanilla peach␤»
# method calls ending in postcircumfix
say "we have @flavours.sort()"; # OUTPUT: «we have peach vanilla␤»
say "we have @flavors.sort()"; # OUTPUT: «we have peach vanilla␤»
# chained method calls:
say "we have @flavours.sort.join(', ')";
say "we have @flavors.sort.join(', ')";
# OUTPUT: «we have peach, vanilla␤»
=end code
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/numerics.pod6
Expand Up @@ -137,7 +137,7 @@ how-is-it 3+2i; # OUTPUT: «meh␤»
The types that do the L<Rational|/type/Rational> role offer high-precision and
arbitrary-precision decimal numbers. Since the higher the precision the
larger the performance penalty, the L<Rational|/type/Rational> types come in two flavours:
larger the performance penalty, the L<Rational|/type/Rational> types come in two flavors:
L<Rat|/type/Rat> and L<FatRat|/type/FatRat>. The L<Rat|/type/Rat> is the most often-used variant
that degrades into a L<Num|/type/Num> in most cases, when it can no longer hold all of
the requested precision. The L<FatRat|/type/FatRat> is the arbitrary-precision variant that
Expand Down

0 comments on commit 3b91438

Please sign in to comment.