← HALL

Currying Function Arity Pipeline

INSANE
+1000 XP REWARD ⏱ Limit: 20m
// MISSION BRIEFING //

ANOMALY DESCRIPTION

A functional programming curry utility stops accumulating arguments too early when empty calls occur. Build a robust curry function that continuously returns a curried function until fn.length arguments have been received.

SPECIFICATION SUITE

Three-argument currying
Input: const sum = (a,b,c) => a+b+c; curry(sum)(1)(2)(3)
Expected: 6
Batch and single mix [PROTECTED TEST]
Evaluation logic hidden to prevent hardcoding.

RADAR HINTS

Hint #1 (Click to decrypt)

Accumulate previous args with next: curried(...args, ...next).

solution.js UTF-8 • JAVASCRIPT
STATIC ANALYSIS CONSOLE Ready for dispatch

Press "VERIFY & SUBMIT" or Ctrl+Enter to evaluate your patch.