Power set: Difference between revisions
m
→Module: ntheory: Fix comment: Perl 6 --> Raku
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
SqrtNegInf (talk | contribs) m (→Module: ntheory: Fix comment: Perl 6 --> Raku) |
||
Line 2,462:
<pre>[] [a] [b] [c] [a b] [a c] [b c] [a b c]</pre>
Using the two argument version of the iterator gives a solution similar to the
<lang perl>use ntheory "forcomb";
my @S = qw/a b c/;
|