Generic.zsm: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/generic.bend as Generic Lines 230-232 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=230&end_line=232 import Base import bend-collections@1.0.0.0/src/math/num.bend as N # (d, d == 0, a and d small) def zsm(~T: Data, ~test: N.Test -> Bool, +a: T, +d: T) -> T & (Bool & Bool): (d, (test(N.IsZero{d}), test(N.Small{a, d}))) 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/num.bend&name=Test