This commit is contained in:
Jade (Rose) Rowland 2026-01-12 11:28:54 -08:00
parent c2720a5738
commit 35bfd8b3ff

View file

@ -1685,7 +1685,7 @@ export function register(name, func, patternify = true, preserveSteps = false, j
// toplevel functions get curried as well as patternified // toplevel functions get curried as well as patternified
// because pfunc uses spread args, we need to state the arity explicitly! // because pfunc uses spread args, we need to state the arity explicitly!
const curried = curry(pfunc, null, arity); const curried = curry(pfunc, null, arity);
strudelScope[name] = pfunc; strudelScope[name] = curried;
return curried; return curried;
} }