Generic.sign_above: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend as Generic Lines 107-112 of bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend&start_line=107&end_line=112 import Base import bend-collections-laws-crypto@1.0.0.0/src/math/num.bend as N def sign_above(~T: Data, ~op: N.Op -> T, ~test: N.Test -> Bool, +x: T, above: Bool) -> T: match above: case True{}: op(N.One{}) case False{}: sign_below(~T, ~op, ~test, x, test(N.Lt{x, op(N.ZeroOp{})})) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/generic.bend&name=sign_below https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/num.bend&name=Op https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/num.bend&name=Test