@@ -296,7 +296,7 @@ sub circumfix:<START END>(*@elems) {
296
296
say START 'a', 'b', 'c' END; # start a b c end
297
297
= end code ;
298
298
299
- Postcircumfixes also receive the the term after which they are parsed as
299
+ Postcircumfixes also receive the term after which they are parsed as
300
300
an argument:
301
301
302
302
= begin code
@@ -314,7 +314,7 @@ tighter precedence than the one you specified, but looser than the
314
314
next-tighter precedence level.
315
315
316
316
For example C << infix:<*> >> has a tighter precedence than C << infix:<+> >> ,
317
- and squeezinge one in between works like this:
317
+ and squeezing one in between works like this:
318
318
319
319
= begin code
320
320
sub infix:<!!>($a, $b) is tighter(&infix:<+>) {
@@ -483,7 +483,7 @@ a 1; # Int 1\n Any 1\n Bakc in Int with 5
483
483
= end code
484
484
485
485
Another common use case is to re-dispatch to the next routine in the chain,
486
- and not do anything else aftwards . That's why we have C < nextwith > and
486
+ and not do anything else afterwards . That's why we have C < nextwith > and
487
487
C < nextsame > , which call the next routine with arbitrary arguments
488
488
(C < nextwith > ) or with the same argument as the caller received (C < nextsame > ),
489
489
but never return to the caller. Or to phrase it differently, the C < nextsame >
@@ -549,7 +549,7 @@ sub double(Int(Cool) $x) {
549
549
}
550
550
551
551
say double '21'; # 42
552
- say dobule Any; # Type check failed in binding $x; expected 'Cool' but got 'Any'
552
+ say double Any; # Type check failed in binding $x; expected 'Cool' but got 'Any'
553
553
= end code
554
554
555
555
Here the C < Int > is the target type to which the argument will be coerced, and
@@ -559,6 +559,6 @@ If the accepted input type is L<Any|/type/Any>, you can abbreviate C<Int(Any)>
559
559
to C < Int() > .
560
560
561
561
Coercion types are supposed to work wherever types work, but Rakudo currently
562
- (2015.02) only implements them for subroutine paramters .
562
+ (2015.02) only implements them for subroutine parameters .
563
563
564
564
= end pod
0 commit comments