(f: (a: A) => (b: B) => C)
| 148 | r: (a: A) => (b: B) => C |
| 149 | } |
| 150 | export function reverseCurriedMagix<A, B, C>(f: (a: A) => (b: B) => C) { |
| 151 | const curried = reverseCurry(f) |
| 152 | return Object.assign(curried, { |
| 153 | /** |
| 154 | * Uncurried version of the parent function |
| 155 | */ |
| 156 | _: uncurry(curried), |
| 157 | /** |
| 158 | * Reverse curried version of the parent function |
| 159 | */ |
| 160 | r: f |
| 161 | }) |
| 162 | } |
| 163 | |
| 164 | export function lazy<A>(f: () => A): () => A { |
| 165 | let tmp: A | undefined |
nothing calls this directly
no test coverage detected
searching dependent graphs…