File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -391,18 +391,18 @@ the postcircumfix.
391
391
= head3 X < C < Zen slice > | Zen slice (Basics)>
392
392
393
393
= begin code
394
- my @flavours = <vanilla peach>;
394
+ my @flavors = <vanilla peach>;
395
395
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»
398
398
# so-called "Zen slice"
399
- say "we have @flavours []"; # OUTPUT: «we have vanilla peach»
399
+ say "we have @flavors []"; # OUTPUT: «we have vanilla peach»
400
400
401
401
# 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»
403
403
404
404
# chained method calls:
405
- say "we have @flavours .sort.join(', ')";
405
+ say "we have @flavors .sort.join(', ')";
406
406
# OUTPUT: «we have peach, vanilla»
407
407
= end code
408
408
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ how-is-it 3+2i; # OUTPUT: «meh»
137
137
138
138
The types that do the L < Rational|/type/Rational > role offer high-precision and
139
139
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 :
141
141
L < Rat|/type/Rat > and L < FatRat|/type/FatRat > . The L < Rat|/type/Rat > is the most often-used variant
142
142
that degrades into a L < Num|/type/Num > in most cases, when it can no longer hold all of
143
143
the requested precision. The L < FatRat|/type/FatRat > is the arbitrary-precision variant that
You can’t perform that action at this time.
0 commit comments