MCPcopy Index your code
hub / github.com/Effect-TS/effect / hashSet

Function hashSet

packages/effect/src/internal/differ.ts:81–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80/** @internal */
81export const hashSet = <Value>(): Differ.Differ<HashSet<Value>, Differ.Differ.HashSet.Patch<Value>> =>
82 make({
83 empty: HashSetPatch.empty(),
84 combine: (first, second) => HashSetPatch.combine(second)(first),
85 diff: (oldValue, newValue) => HashSetPatch.diff(oldValue, newValue),
86 patch: (patch, oldValue) => HashSetPatch.patch(oldValue)(patch)
87 })
88
89/** @internal */
90export const orElseEither = Dual.dual<

Callers

nothing calls this directly

Calls 4

makeFunction · 0.70
combineMethod · 0.65
diffMethod · 0.65
patchMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…