Share your repls and programming experiences

← Back to all posts
#WEEKLY 18 - Subsets
fuzzyastrocat (1842)

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.List and Data.Maybe but neither of those actually perform the task.

Note: This is a great challenge for a functional programming language. Go FP!