()
| 79 | |
| 80 | /** @internal */ |
| 81 | export 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 */ |
| 90 | export const orElseEither = Dual.dual< |