Skip to content

Commit

Permalink
Fixed a couple of errors in the examples. RabidGravy++
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olof Hendig committed Jun 3, 2016
1 parent 0ea5cd8 commit 645ed55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/Type/Supply.pod
Expand Up @@ -199,7 +199,6 @@ Creates an on-demand supply from the values passed to this method.
my $s = Supply.from-list(1, 2, 3);
$s.tap(&say); # 1\n2\n3\n
$s.done;
=head2 method share
Expand Down Expand Up @@ -259,7 +258,7 @@ that smart-match against C<$test>.
Returns a new supply that maps each value of the given supply through
C<&mapper> and emits it to the new supply.
my $supplier = Supplier.new
my $supplier = Supplier.new;
my $all = $supplier.Supply;
my $double = $all.map(-> $value { $value * 2 });
$double.tap(&say);
Expand Down

0 comments on commit 645ed55

Please sign in to comment.