relation-0.5.2.0: A data structure representing Relations on Sets.
Data.Relation.Internal.Set
flatten :: Ord a => Set (Set a) -> Set a Source #
Flatten a set of sets.
justUnlessEmpty :: Set a -> Maybe (Set a) Source #