(f: (b: B) => (a: A) => C)
| 11 | /* eslint-disable @typescript-eslint/no-explicit-any */ |
| 12 | |
| 13 | export function tupledCurry<A, B, C>(f: (b: B) => (a: A) => C) { |
| 14 | return (t: [A, B]) => f(t[1])(t[0]) |
| 15 | } |
| 16 | |
| 17 | export function reverseCurry<A, B, C>(f: (b: B) => (a: A) => C) { |
| 18 | return (a: A) => (b: B) => f(b)(a) |
nothing calls this directly
no test coverage detected
searching dependent graphs…