def cmul

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

import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as Generic
import Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N

58def cmul(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +a: T, +b: T) -> Maybe<&2, T>:
59  fits(T, test(N.MulOver{a, b}), op(N.Mul{a, b}))

Uses (5)

Used by (8)