Partial application

/ˈpɑrʃəl ˌæplɪˈkeɪʃən/ noun

Definition

A technique where a function that takes multiple arguments is transformed into a function that takes fewer arguments by fixing some of the original arguments to specific values. The result is a new function that 'remembers' the provided arguments.

Etymology

From mathematical function theory, where 'partial' (from Latin 'pars' meaning part) indicates incomplete application of arguments. The concept was formalized in lambda calculus by Alonzo Church in the 1930s and later adopted in functional programming languages to enable function composition and reusability.

Kelly Says

Partial application is like creating a custom tool from a Swiss Army knife - if you always use the knife with the same handle grip, you can tape down that part and create a specialized cutting tool! This is how JavaScript's bind() works, and why functional programmers can create incredibly specific functions from general-purpose ones.

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.