feat: Allow nonrecursive whole-function dependencies and use to subtract
This commit is contained in:
parent
a22add9434
commit
b16af5cd71
4 changed files with 32 additions and 2 deletions
3
generic/subtract.mjs
Normal file
3
generic/subtract.mjs
Normal file
|
@ -0,0 +1,3 @@
|
|||
export const subtract = {
|
||||
'any,any': [['add', 'negate'], ref => (x,y) => ref.add(x, ref.negate(y))]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue