Issue #10726 has been updated by Radan Skori.


It is a well defined mathematical operation but it seems to me it has a very narrow usage. 

IMHO, maybe such functionality would fit better in a separate gem. There are other well defined mathematical set operations and if they all ended up on standard Set, it would get pretty bloated.

----------------------------------------
Feature #10726: [PATCH 4/4] * New methods: Set#power
https://bugs.ruby-lang.org/issues/10726#change-51264

* Author: gogo tanaka
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Hi, there.

Here are 4 patches.

```
implement_set#power.patch ... Implement Set#power
update_test_set.rb.patch  ... Add tests for Set#power
update_NEWS.patch         ... Update NEWS for Set#power
fix_indent_NEWS.patch     ... Adjustment indent of NEWS
```

take your time.

gogo.

---Files--------------------------------
implement_set#power.patch (1007 Bytes)
update_test_set.rb.patch (838 Bytes)
update_NEWS.patch (672 Bytes)
fix_indent_NEWS.patch (888 Bytes)
implement_set_powerset.patch (1.96 KB)


-- 
https://bugs.ruby-lang.org/