(f: (a: A, b: B) => C)
| 19 | } |
| 20 | |
| 21 | export function curry<A, B, C>(f: (a: A, b: B) => C) { |
| 22 | return (b: B) => (a: A) => f(a, b) |
| 23 | } |
| 24 | |
| 25 | export function uncurry<A, B, C>(f: (b: B) => (a: A) => C) { |
| 26 | return (a: A, b: B) => f(b)(a) |
no test coverage detected
searching dependent graphs…