by stiiv · 2w ago · 0 comments
An alternative is providing variations on a function that "bundle" sets of arguments, and then making the bundle the first parameter, but that only makes sense when the "bundles" occur together a lot.
One approach that I haven't seen yet (maybe some language has it?) is named bindings for arbitrary partial application. I _think_ that would be a little tighter than anonymous functions, but I'd need to see it in action.