Power set - Rosetta Code
Set::Object(Set::Object() Set::Object(1 2 3) Set::Object(1 2) Set::Object(1 3) Set::Object(1) Set::Object(2 3) Set::Object(2) Set::Object(3)) [edit] Simple custom hash-based set type It's also easy to define a custom type for sets of strings or numbers, u...