Power set: Difference between revisions
Content added Content deleted
(Added Wren) |
m (→{{header|Wren}}: Correction to preamble.) |
||
Line 4,276: | Line 4,276: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
Although we have a module for sets, they are based on maps whose keys must be value types. This means that sets of sets are technically impossible because |
Although we have a module for sets, they are based on maps whose keys must be value types. This means that sets of sets are technically impossible because sets themselves are not value types. |
||
We therefore use lists to represent sets which works fine here. |
We therefore use lists to represent sets which works fine here. |