Question: How to take all possible unions

I have a set of sets named T. How I can take all possible unions of the members of T and if the result is not in T already, include it in T. I want to do this using a seq command, but could not do. Can anyone help? This is so to say, T is to be made closed under union.

Please Wait...