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

Function concat_

packages/effect-app/src/NonEmptySet.ts:21–21  ·  view source on GitHub ↗
(set: NonEmptySet<A>, it: Iterable<A>)

Source from the content-addressed store, hash-verified

19 const fromArray = flow(fromArray_, fromSet)
20 const fromNonEmptyArray = (arr: NonEmptyReadonlyArray<A>) => fromArray_(arr) as NonEmptySet<A>
21 const concat_ = (set: NonEmptySet<A>, it: Iterable<A>) => fromArray([...set, ...it])
22 const insert__ = insertOriginal(eq)
23 const insert: (a: A) => (set: NonEmptySet<A>) => NonEmptySet<A> = insert__ as any
24 const insert_: (set: NonEmptySet<A>, a: A) => NonEmptySet<A> = insert_Original as any

Callers 1

make_Function · 0.70

Calls 1

fromArrayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…