Skip to content

Commit

Permalink
Include purpose of :$label and :$item .map arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 23, 2016
1 parent 8b3cd79 commit 10def9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/Type/Any.pod6
Expand Up @@ -141,6 +141,11 @@ C<map> will iterate over the invocant and apply the number of positional
parameters of the code object from the invocant per call. The returned values
of the code object will become elements of the returned C<Seq>.
The C<:$label> and C<:$item> are useful only internally, since C<for> loops
get converted to C<map>s. The C<:$label> takes an existing C<Label> to label
the C<.map>'s loop with and C<:$item> controls whether the iteration will
occur over C<(SELF,)> (if C<:$item> is set) or C<SELF>.
=head2 method deepmap
Defined as:
Expand Down

0 comments on commit 10def9d

Please sign in to comment.