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

Function chain

packages/effect-app/src/Set.ts:195–200  ·  view source on GitHub ↗
(
  E: Equivalence.Equivalence<B>
)

Source from the content-addressed store, hash-verified

193 * Map + Flatten
194 */
195export function chain<B>(
196 E: Equivalence.Equivalence<B>
197): <A>(f: (x: A) => Set<B>) => (set: Set<A>) => Set<B> {
198 const c = chain_(E)
199 return (f) => (set) => c(set, f)
200}
201
202/**
203 * Map + Flatten

Callers

nothing calls this directly

Calls 1

chain_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…