import { partial } from "https://dotland.deno.dev/x/rambda@9.4.1/mod.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.