MCPcopy Create free account
hub / github.com/effect-app/libs / difference

Function difference

packages/effect-app/src/Set.ts:393–396  ·  view source on GitHub ↗
(E: Equivalence.Equivalence<A>)

Source from the content-addressed store, hash-verified

391 * Form the set difference (`x` - `y`)
392 */
393export function difference<A>(E: Equivalence.Equivalence<A>): (x: Set<A>, y: Set<A>) => Set<A> {
394 const diff = difference_(E)
395 return (x, y) => diff(x, y)
396}
397
398/**
399 * Reduce over the set values

Callers

nothing calls this directly

Calls 1

difference_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…