Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M10489

Currying

Currying
Learn & MetacognitionHigh supportCognitive Science
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

In mathematics and computer science, currying (named after Haskell Curry) is the technique of translating a function that takes multiple arguments into a sequence of families of functions, each taking a single argument. In the prototypical example, one begins with a function …

Definition

A technique that transforms a complex function taking multiple arguments into a sequence of simple functions each taking a single argument. Scaffold use: task atomization. Do not attempt to solve the complex problem of "who does what, when, and where" all at once. Break it down: first determine "who" and fix it; then determine "when" and fix it. Step by step, reduce cognitive load.

How to use

Task atomization. Do not attempt to solve the complex problem of "who does what, when, and where" all at once. Break it down: first determine "who" and fix it; then determine "when" and fix it. Step by step, reduce cognitive load.

Mechanism

Convert a function that takes multiple arguments into a chain of functions each taking a single argument, where each fixed argument returns a more specialized function. It reduces a high-dimensional problem into a series of one-dimensional decisions.

Practice

In progress 0/3

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Break down "who does what, when, and where" into a chain of decisions: first determine "who", then determine "when", reducing cognitive load.

Common pitfalls

  • Blindly pursuing functional style at the expense of readability; ignoring that in business contexts direct multi-parameter calls may be clearer; currying for the sake of currying.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/CurryingZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS