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

Function insert

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

Source from the content-addressed store, hash-verified

448 * Insert a value into a set
449 */
450export function insert<A>(E: Equivalence.Equivalence<A>): (a: A) => (set: Set<A>) => Set<A> {
451 const i = insert_(E)
452 return (a) => (set) => i(set, a)
453}
454
455/**
456 * Insert a value into a set

Callers 2

toggle_Function · 0.70
make_Function · 0.70

Calls 1

insert_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…