- Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
type: enhancementA new feature or addition.A new feature or addition.
Description
We have union
, unions
, and intersection
, but no intersections
.
I've been using this locally:
intersections :: forall f a. Foldable f => Ord a => f (Set a) -> Set a intersections sets = case List.fromFoldable sets of Nil -> Set.empty (x : xs) -> foldl intersection x xs
PR with tests and docs on the todo list.
Metadata
Metadata
Assignees
Labels
type: enhancementA new feature or addition.A new feature or addition.