Glen Whitney
b59a8c2ca9
And implement negate on numbers, and use dependencies to define subtract. Co-authored-by: Glen Whitney <glen@studioinfinity.org> Reviewed-on: #2
4 lines
106 B
JavaScript
4 lines
106 B
JavaScript
export const subtract = {
|
|
'any,any': [['add', 'negate'], ref => (x,y) => ref.add(x, ref.negate(y))]
|
|
}
|