Instead of:
const fn = (ctx, a, ...rest) => {};
const fnCurried = (ctx) => (b) => (...rest) => fn(ctx, b, ...rest);
someFn("something", fnCurried(ctx));
I would like to be able to call "fn" at top level, so I thought maybe storing the context in another method would help, I have no idea how to go about doing this
const fnCurried = createCtx(ctx)
someFn("something", fnCurried(fn))