7 lines
141 B
JavaScript
7 lines
141 B
JavaScript
|
export const mod = {
|
||
|
'any,any': ({
|
||
|
subtract,
|
||
|
multiply,
|
||
|
quotient}) => (a,m) => subtract(a, multiply(m, quotient(a,m)))
|
||
|
}
|