Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
spelling/grammar fix in duckmap
  • Loading branch information
pdl committed Jul 11, 2016
1 parent c74572e commit 2f0a39a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/Type/Any.pod6
Expand Up @@ -179,8 +179,7 @@ Defined as:
C<duckmap> will apply C<&block> on each element and return a new list with
defined return values of the block. For undefined return values, C<duckmap>
will try to descend into the element if that element is implementing
C<Iterable>.
will try to descend into the element if that element implements C<Iterable>.
my @a = [1,[2,3],4];
dd @a.duckmap({ $_ ~~ Int ?? $_++ !! Any });
Expand Down

0 comments on commit 2f0a39a

Please sign in to comment.