Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/Power-set/Raku/power-set-1.raku
Normal file
2
Task/Power-set/Raku/power-set-1.raku
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
sub powerset(Set $s) { $s.combinations.map(*.Set).Set }
|
||||
say powerset set <a b c d>;
|
||||
1
Task/Power-set/Raku/power-set-2.raku
Normal file
1
Task/Power-set/Raku/power-set-2.raku
Normal file
|
|
@ -0,0 +1 @@
|
|||
.say for <a b c d>.combinations
|
||||
Loading…
Add table
Add a link
Reference in a new issue