I doubt if I am the first person to ask this question, but I have not seen
an "answer" in any of the ML books I have read yet...
Is there a way to represent a "set of sets" so that a function can process
a query such as
" is [2] an element of [ 3 , [2], 4, 5]?"
I know we can easily do a query such as
" is 2 an element of [ 3 , 2, 4, 5]?"
I know the problem is that lists cannot have different types, but this is a
common, normal query in mathematics so someone must have figured out a way
to do it perhaps?
-Dave