Hi! As the title suggests, can someone help in giving an example about how we can loop over sets using recursion? I do know that the Enum functions exist, which are extremely helpful, however, I want to try experimenting with sets in a different way.
I am quite confused over what the base case would be for this and how exactly can we get the values of a set each time we call the recursive function.
Any help will be appreciated ![]()
EDIT: One additional thing I would like to add is that we don’t really know what the contents of the set are so we can’t try doing something like this:
def function({a, b, c} do


















