Skip to content

Commit 3b91438

Browse files
committed
prefer american spelling
1 parent 9d9c65b commit 3b91438

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/Language/101-basics.pod6

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -391,18 +391,18 @@ the postcircumfix.
391391
=head3 X<C<Zen slice>| Zen slice (Basics)>
392392
393393
=begin code
394-
my @flavours = <vanilla peach>;
394+
my @flavors = <vanilla peach>;
395395
396-
say "we have @flavours"; # OUTPUT: «we have @flavours␤»
397-
say "we have @flavours[0]"; # OUTPUT: «we have vanilla␤»
396+
say "we have @flavors"; # OUTPUT: «we have @flavors␤»
397+
say "we have @flavors[0]"; # OUTPUT: «we have vanilla␤»
398398
# so-called "Zen slice"
399-
say "we have @flavours[]"; # OUTPUT: «we have vanilla peach␤»
399+
say "we have @flavors[]"; # OUTPUT: «we have vanilla peach␤»
400400
401401
# method calls ending in postcircumfix
402-
say "we have @flavours.sort()"; # OUTPUT: «we have peach vanilla␤»
402+
say "we have @flavors.sort()"; # OUTPUT: «we have peach vanilla␤»
403403
404404
# chained method calls:
405-
say "we have @flavours.sort.join(', ')";
405+
say "we have @flavors.sort.join(', ')";
406406
# OUTPUT: «we have peach, vanilla␤»
407407
=end code
408408

doc/Language/numerics.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ how-is-it 3+2i; # OUTPUT: «meh␤»
137137
138138
The types that do the L<Rational|/type/Rational> role offer high-precision and
139139
arbitrary-precision decimal numbers. Since the higher the precision the
140-
larger the performance penalty, the L<Rational|/type/Rational> types come in two flavours:
140+
larger the performance penalty, the L<Rational|/type/Rational> types come in two flavors:
141141
L<Rat|/type/Rat> and L<FatRat|/type/FatRat>. The L<Rat|/type/Rat> is the most often-used variant
142142
that degrades into a L<Num|/type/Num> in most cases, when it can no longer hold all of
143143
the requested precision. The L<FatRat|/type/FatRat> is the arbitrary-precision variant that

0 commit comments

Comments
 (0)