curried
This commit is contained in:
parent
c2720a5738
commit
35bfd8b3ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue