def prod

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

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

139def prod(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, xs: List<&2, T>) -> Result<&2, &2, N.NumError, T>:
140  ok(T, prod_go(~T, ~op, ~test, xs, Some{op(N.One{})}))

Uses (9)

Used by (0)

No other definition uses this definition.