(f: (b: B) => (a: A) => C)
| 15 | } |
| 16 | |
| 17 | export function reverseCurry<A, B, C>(f: (b: B) => (a: A) => C) { |
| 18 | return (a: A) => (b: B) => f(b)(a) |
| 19 | } |
| 20 | |
| 21 | export function curry<A, B, C>(f: (a: A, b: B) => C) { |
| 22 | return (b: B) => (a: A) => f(a, b) |
no test coverage detected
searching dependent graphs…