- :block
- or :nothing
powerset
return the powerset of given set
Parameters
powerset set :literal :pathliteral :block
Returns
Examples
copypowerset [1 2 3] ; [[] [1] [2] [1 3] [3] [1 2] [2 3] [1 2 3]]
powerset set :literal :pathliteral :block
copypowerset [1 2 3] ; [[] [1] [2] [1 3] [3] [1 2] [2 3] [1 2 3]]