Code
Loading editor...
Tap Analyze to see visualization
Click Analyze to visualize
See step-by-step execution, variables, and output
Variables
Run code to see variables
Output
Console output will appear here
Click Analyze to visualize
See step-by-step execution, variables, and output
Run code to see variables
Console output will appear here
Extend basic currying with a placeholder symbol that marks positions for deferred arguments. On each partial call, merge new arguments into placeholder positions from the previous call. Continue until all positions hold real values and the required arity is met.
The placeholder symbol acts as a sentinel value that can be detected and replaced during argument merging, allowing arguments to be supplied in any order across multiple partial applications.
Updated Mar 2026