def divmod
import bend-collections@1.0.0.0/src/math/generic.bend as Genericimport Base
import bend-collections@1.0.0.0/src/math/num.bend as N
609def divmod(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +a: T, +b: T) -> Result<&2, &2, N.NumError, QuotRem<T>>:
610 divmod_ok(~T, ~op, a, b, test(N.IsZero{b}))
Uses (7)
Used by (0)
No other definition uses this definition.