Find all the given subsets of a word with this tool! You can also ask for a specific subset and it will give you its index in the list.
My program doesn't use any libraries akin to
itertools that do the computation for me — I use
Data.Maybe but neither of those actually perform the task.
Note: This is a great challenge for a functional programming language. Go FP!