mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
curried
This commit is contained in:
@@ -1685,7 +1685,7 @@ export function register(name, func, patternify = true, preserveSteps = false, j
|
||||
// toplevel functions get curried as well as patternified
|
||||
// because pfunc uses spread args, we need to state the arity explicitly!
|
||||
const curried = curry(pfunc, null, arity);
|
||||
strudelScope[name] = pfunc;
|
||||
strudelScope[name] = curried;
|
||||
return curried;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user