Question for the folks who were paying attention in CS 101.
boolean [string] map1;
map1["foo"] = true;
map1["bar"] = true;
map1["baz"] = true;
I'd like to create a new map2 with entries
""
"foo"
"bar"
"baz"
"foobar"
"foobaz"
"barbaz"
"foobarbaz"
Basically, create a map2 that contains all permutations of map1.
Any suggestions?

boolean [string] map1;
map1["foo"] = true;
map1["bar"] = true;
map1["baz"] = true;
I'd like to create a new map2 with entries
""
"foo"
"bar"
"baz"
"foobar"
"foobaz"
"barbaz"
"foobarbaz"
Basically, create a map2 that contains all permutations of map1.
Any suggestions?