Skip to content

Currying

Currying transforms a function with multiple arguments into a sequence of functions, each taking a single argument.

Currying: fn(a, b, c) → fn(a)(b)(c). Enables partial application. Creates specialized functions from general ones. Useful for configuration and logging.