(f: (a: A, b: B) => C)
| 110 | r: (a: A) => (b: B) => C |
| 111 | } |
| 112 | export function uncurriedMagix<A, B, C>(f: (a: A, b: B) => C) { |
| 113 | const curried = curry(f) |
| 114 | return Object.assign(curried, { |
| 115 | /** |
| 116 | * Uncurried version of the parent function |
| 117 | */ |
| 118 | _: f, |
| 119 | /** |
| 120 | * Reverse curried version of the parent function |
| 121 | */ |
| 122 | r: reverseCurry(curried) |
| 123 | }) |
| 124 | } |
| 125 | |
| 126 | export function reverseCurriedMagix<A, B, C>( |
| 127 | f: (a: A) => (b: B) => C |
nothing calls this directly
no test coverage detected
searching dependent graphs…