def divmod

bend-collections@1.0.0.0 · src/math/generic.bend:609

import bend-collections@1.0.0.0/src/math/generic.bend as Generic
import 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.