Basic Syntax

Currying

English

Overview

Transforming a function that takes multiple arguments into a chain of functions that each take one argument.

Details

A technique that transforms a multi-argument function like f(a, b, c) into a chain of single-argument functions like f(a)(b)(c). Used in functional programming for partial application and reusing functions.

More Programming terms