Generic.prod_go: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/generic.bend as Generic Lines 130-137 of bend-collections@1.0.0.0/src/math/generic.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/generic.bend&start_line=130&end_line=137 import Base import bend-collections@1.0.0.0/src/math/num.bend as N def prod_go(~T: Data, ~op: N.Op -> T, ~test: N.Test -> Bool, xs: List<&2, T>, acc: Maybe<&2, T>) -> Maybe<&2, T>: match xs acc: case Nil{} _: acc case Con{x, rest} None{}: None{} case Con{+x, rest} Some{+a}: prod_go(~T, ~op, ~test, rest, cmul(~T, ~op, ~test, a, x)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/generic.bend&name=cmul https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/num.bend&name=Op https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/num.bend&name=Test