Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document grep-index
  • Loading branch information
hoelzro committed Nov 29, 2014
1 parent 77dda07 commit 300883d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/Type/List.pod
Expand Up @@ -135,6 +135,13 @@ Examples:
> grep { .Str.chars > 3 }, 'hello', 1, 22/7, 42, 'world'
hello 3.142857 world
=head2 routine grep-index
multi method grep-index(List:D: Mu $matcher) returns List:D
Returns a lazy list of indices against which the associated elements
smart-match. The indicies are returned in order.
=head2 routine first
multi sub first(Mu $matcher, *@elems)
Expand Down

0 comments on commit 300883d

Please sign in to comment.