I'm using language-ext in a C# .NET Core project and I'm able to do partial application on an existing function:
Func<T1, T2, T3, T4, R> originalFun = /* ... */;
Func<T4, R> partialFun = par(originalFun, paramT1, paramT2, paramT3);
Now, I'd like to augment parameter list in order to match an existing signature, where additional parameters would just be ignored. In plain language I can write:
Func<U1, U2, T4, R> augmentedFun = (_, __, paramT4) => partialFun(paramT4);
I wonder if there any "standard" tool available in that library to achieve that, much in the same way as par
replaces manual lambda expressions. TA