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

Function uncurry

packages/effect-app/src/Function.ts:25–27  ·  view source on GitHub ↗
(f: (b: B) => (a: A) => C)

Source from the content-addressed store, hash-verified

23}
24
25export function uncurry<A, B, C>(f: (b: B) => (a: A) => C) {
26 return (a: A, b: B) => f(b)(a)
27}
28
29// It's better to have these expanded, so that on the call site you understand the functions better.
30// type OptMagix<A, B, C> = ((b?: B) => (a: A) => C) & {

Callers 2

curriedMagixFunction · 0.85
reverseCurriedMagixFunction · 0.85

Calls 1

fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…