Search results

intersection :: forall k a b. Ord k => Map k a -> Map k b -> Map k a

Compute the intersection of two maps, preferring values from the first map in the case of duplicate keys.

P purescript-ordered-collections M Data.Map.Internal
intersection :: forall a. Ord a => Set a -> Set a -> Set a

The set of elements which are in both the first and second set

P purescript-ordered-collections M Data.Set
intersection :: forall a. Ord a => NonEmptySet a -> NonEmptySet a -> Maybe (NonEmptySet a)

The set of elements which are in both the first and second set. Nothing if the sets are disjoint.

P purescript-ordered-collections M Data.Set.NonEmpty
intersection :: forall k v. Hashable k => HashMap k v -> HashMap k v -> HashMap k v

Intersect two maps.

P purescript-unordered-collections M Data.HashMap
intersection :: forall a. Hashable a => HashSet a -> HashSet a -> HashSet a

Intersect two sets.

P purescript-unordered-collections M Data.HashSet
intersection :: forall a. Ord a => OrdSeq a -> OrdSeq a -> OrdSeq a

O(n*log(n)), where n is the length of the longer sequence. Create a new sequence containing only elements which are common to both sequences.

P purescript-sequences M Data.Sequence.Ordered
intersection :: forall a. Hashable a => MultiSet a -> MultiSet a -> MultiSet a
P purescript-multiset-hashed M Data.HashSet.Multi
P purescript-ts-bridge M TsBridge.Types.Intersection
intersectionWith :: forall k a b c. Ord k => (a -> b -> c) -> Map k a -> Map k b -> Map k c

Compute the intersection of two maps, using the specified function to combine values for duplicate keys.

P purescript-ordered-collections M Data.Map.Internal
intersectionWith :: forall k a b c. Hashable k => (a -> b -> c) -> HashMap k a -> HashMap k b -> HashMap k c

Intersect two maps, combining the values for keys that appear in both maps using the given function.

intersectionWith (-) (singleton 0 3) (singleton 0 2) == singleton 0 1

P purescript-unordered-collections M Data.HashMap
P purescript-intersection-observer M Web.Intersection.Observer
P purescript-intersection-observer M Web.Intersection.Observer.Entry
P purescript-intersection-observer M Web.Intersection.Observer.Options
P purescript-intersection-observer M Web.Intersection.Observer

No further results.