mistake in Data.Set description
|Reported by:||guest||Owned by:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
Data.set description in HTML documentation contains the following text
difference :: Ord a => Set a -> Set a -> Set a O(n+m). Difference of two sets. The implementation uses an efficient hedge algorithm comparable with hedge-union. intersection :: Ord a => Set a -> Set a -> Set a O(n+m). The intersection of two sets. Elements of the result come from the first set.
I think that phrase "Elements of the result come from the first set" relates to difference function, not to intersection