Packed.pad_choose: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/sha/packed.bend as Packed Lines 34-38 of bend-collections@1.0.0.0/spec/crypto/sha/packed.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/sha/packed.bend&start_line=34&end_line=38 import Base def pad_choose(c: Cmp, w: U32, delta: Nat) -> U32: match c: case GT{}: 0 case EQ{}: 2147483648 case LT{}: partial(w,delta) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/sha/packed.bend&name=partial