Browse files

Remove commas after invocant colons in signatures; araujo++.

  • Loading branch information...
pmichaud committed Jun 9, 2012
1 parent 4f8e2aa commit b155c7da758e271b03c5df80d1a81cce4aba2272
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/List.pod
@@ -96,7 +96,7 @@ Example:
=head3 map
multi sub map(&code, *@elems) returns List:D
- multi method map(List:D:, &code) returns List:D
+ multi method map(List:D: &code) returns List:D
Invokes C<&code> for each element and gathers the return values in another
list and returns it. This happens lazily, ie C<&code> is only invoked when
@@ -157,15 +157,15 @@ Returns the number of elements in the list (same as C<.elems>).
=head3 pick
- multi method pick(List:D:, $count = 1)
+ multi method pick(List:D: $count = 1)
Returns C<$count> elements chosen at random and without repetition
from the invocant. If C<*> is passed as C<$count>, all elements
from the invocant list are returned in a random sequence.
=head3 roll
- multi method roll(List:D:, $count = 1)
+ multi method roll(List:D: $count = 1)
Returns a lazy list of C<$count> elements, each randomly selected from the
list. Each random choice is made indepently, like a separate die roll

0 comments on commit b155c7d

Please sign in to comment.