3 lines
84 B
Raku
3 lines
84 B
Raku
|
|
sub powerset(Set $s) { $s.combinations.map(*.Set).Set }
|
||
|
|
say powerset set <a b c d>;
|