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

Function tupledCurry

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

Source from the content-addressed store, hash-verified

11/* eslint-disable @typescript-eslint/no-explicit-any */
12
13export function tupledCurry<A, B, C>(f: (b: B) => (a: A) => C) {
14 return (t: [A, B]) => f(t[1])(t[0])
15}
16
17export function reverseCurry<A, B, C>(f: (b: B) => (a: A) => C) {
18 return (a: A) => (b: B) => f(b)(a)

Callers

nothing calls this directly

Calls 1

fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…