Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix minor typos
  • Loading branch information
stmuk committed May 23, 2016
1 parent 1fb27c0 commit ff833e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/Language/mop.pod
Expand Up @@ -199,7 +199,7 @@ as well. So if you write C<my $t = MyType; ... ; $t.^compose> you are
composing the Scalar that the C<$>-sigiled variable implies, not C<MyType>.
The consequence is that you need to have a rather detailed understanding of
the subleties of Perl 6 in order to avoid pitfalls when working with the MOP,
the subtleties of Perl 6 in order to avoid pitfalls when working with the MOP,
and can't expect the same "do what I mean" convenience that ordinary Perl 6
code offers.
Expand Down
2 changes: 1 addition & 1 deletion doc/Language/operators.pod
Expand Up @@ -546,7 +546,7 @@ X<Hyper method call operator>. Will call a method on all elements of a C<List> o
my @b = @a».ord; # [97, 98, 99]
sub foo(Str:D $c){ $c.ord * 2 }; # The first parameter of a method is the invocant.
say @a».&foo; # So we can pretend to have a method call with a sub that got a good first positional argument.
say @a».&({ .ord}); # Blocks have an implicit positional arguments that lands in $_. The latter can be obmitted for method calls.
say @a».&({ .ord}); # Blocks have an implicit positional arguments that lands in $_. The latter can be omitted for method calls.
=head2 X«postfix C<.postfix>
|postfix,.postfix;postcircumfix,.( );postcircumfix,.[ ];postcircumfix,.{ };postcircumfix,.< >»
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/IO/Special.pod
Expand Up @@ -31,7 +31,7 @@ This returns a string which identifies the object.
method Str(IO::Special:D:)
This returns '<STDIN>', '<STDOUT>' or '<STDERR>' as approriate.
This returns '<STDIN>', '<STDOUT>' or '<STDERR>' as appropriate.
=head2 method IO
Expand Down

0 comments on commit ff833e0

Please sign in to comment.