7 ms·
complEment is tricky. How do you propose that it be encoded? You don't literally want to create a complement set and populate it with every possible object tha
by kazinator 10y ago
complEment is tricky. How do you propose that it be encoded?
You don't literally want to create a complement set and populate it with every possible object that is not in the original set (but could be, according to type).
A clone of the set with a complement flag? That could work.
At least until someone constructs a complement of a set, and then wants to iterate over it, oops!