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

Function map

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

Source from the content-addressed store, hash-verified

154 * Projects a Set through a function
155 */
156export function map<B>(E: Equivalence.Equivalence<B>): <A>(f: (x: A) => B) => (set: Set<A>) => Set<B> {
157 const m = map_(E)
158 return (f) => (set) => m(set, f)
159}
160
161/**
162 * Projects a Set through a function

Callers 3

make_Function · 0.90
make_Function · 0.70
mapHandlerFunction · 0.50

Calls 1

map_Function · 0.85

Tested by

no test coverage detected