pocomath/src/generic/subtract.mjs

4 lines
88 B
JavaScript

export const subtract = {
'any,any': ({add, negate}) => (x,y) => add(x, negate(y))
}