Generic.inv_one: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/generic.bend as Generic Lines 578-583 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=578&end_line=583 import Base import bend-collections@1.0.0.0/src/math/num.bend as N def inv_one(~T: Data, ~op: N.Op -> T, +m: T, +s: T, one: Bool) -> Result<&2, &2, N.NumError, T>: match one: case True{}: Done{op(N.Rem{s, m})} case False{}: Fail{N.NoInverse{}} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/num.bend&name=NumError https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/num.bend&name=Op