import { partial } from "https://deno.land/x/rambda@v9.1.0/immutable.d.ts";
It is very similar to R.curry
, but you can pass initial arguments when you create the curried function.
R.partial
will keep returning a function until all the arguments that the function fn
expects are passed.
The name comes from the fact that you partially inject the inputs.
Parameters
fn: (...a: readonly any[]) => T