Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Apr 25, 2019
1 parent 6637d6b commit 0ae8001
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/Language/statement-prefixes.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ number read from a channel.
=head2 X<C<supply>|supply (statement prefix)>
The keyword C<supply> creates
L<on-demmand supplies|/language/concurrency#index-entry-supply_(on-demand)>
L<on-demand supplies|/language/concurrency#index-entry-supply_(on-demand)>
that you can tap. It pairs with C<emit>, which can be used anywhere from within
a C<supply> preffixed statement.
a C<supply> prefixed statement.
=begin code
my &cards = -> {
Expand All @@ -230,7 +230,7 @@ $supply.tap( -> $v { say "Drawing: $v" }, done => { say "No more cards" });
In this example, C<supply> acts as prefix of the previously defined C<cards>
routine. It would very well be defined as a block, but giving it a name in this
case might increase legibility or simply give the responsability of defining it
case might increase legibility or simply give the responsibility of defining it
to other module.
=end pod
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Encoding.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ consumers of the role.
method name(--> Str)
Abtract method that would return the primary name of the encoding.
Abstract method that would return the primary name of the encoding.
=head2 method alternative-names
Expand Down

0 comments on commit 0ae8001

Please sign in to comment.