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

Function reverseCurry

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

Source from the content-addressed store, hash-verified

15}
16
17export function reverseCurry<A, B, C>(f: (b: B) => (a: A) => C) {
18 return (a: A) => (b: B) => f(b)(a)
19}
20
21export function curry<A, B, C>(f: (a: A, b: B) => C) {
22 return (b: B) => (a: A) => f(a, b)

Callers 3

curriedMagixFunction · 0.85
uncurriedMagixFunction · 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…