(f: (b: B) => (a: A) => C)
| 73 | r: (a: A) => (b: B) => C |
| 74 | } |
| 75 | export 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 | |
| 88 | export function uncurriedMagix<A, B, C>( |
| 89 | f: (a: A, b?: B) => C |
nothing calls this directly
no test coverage detected
searching dependent graphs…