Design patterns·Functional ideas that went mainstream
you fixed the first argument once and passed the resulting one-argument function around instead.
Partial application
Also calledpartially applied function, bind arguments
Supplying some of a function's arguments now and getting back a function that expects the rest. It is how a general function is specialised into a task-specific one — a logger bound to a component, a validator bound to a schema — and it is the everyday reason anyone cares about currying. The distinction is simple: currying restructures a function, partial application calls a function with fewer arguments than it takes.