Skip to content

Commit

Permalink
[v6.d REVIEW] Fix up &combinations signature
Browse files Browse the repository at this point in the history
It can take any Iterable

Propspec: Raku/roast@928b4b9b
Pov: rakudo/rakudo@a0ee718db3
  • Loading branch information
zoffixznet committed Oct 14, 2018
1 parent d1e077c commit 38ae59a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Type/List.pod6
Expand Up @@ -1009,9 +1009,9 @@ C<redo> statements inside C<&with>:
Defined as:
multi sub combinations($from, $of = 0..* --> Seq:D)
multi method combinations(List:D: Int() $of --> Seq:D)
multi method combinations(List:D: Range:D $of = 0..* --> Seq:D)
multi sub combinations($from, $of = 0..* --> Seq:D)
multi method combinations(List:D: Int() $of --> Seq:D)
multi method combinations(List:D: Iterable:D $of = 0..* --> Seq:D)
Returns a L<Seq> with all C<$of>-combinations of the invocant list.
C<$of> can be a numeric L<Range>, in which
Expand Down

0 comments on commit 38ae59a

Please sign in to comment.