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

Function curriedMagix

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

Source from the content-addressed store, hash-verified

73 r: (a: A) => (b: B) => C
74}
75export function curriedMagix<A, B, C>(f: (b: B) => (a: A) => C) {
76 return Object.assign(f, {
77 /**
78 * Uncurried version of the parent function
79 */
80 _: uncurry(f),
81 /**
82 * Reverse curried version of the parent function
83 */
84 r: reverseCurry(f)
85 })
86}
87
88export function uncurriedMagix<A, B, C>(
89 f: (a: A, b?: B) => C

Callers

nothing calls this directly

Calls 2

uncurryFunction · 0.85
reverseCurryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…