BendCollections.last_bit: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/keccak/main.bend as BendCollections Lines 25-28 of bend-collections@1.0.0.0/spec/crypto/keccak/main.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/main.bend&start_line=25&end_line=28 import Base def last_bit(w: U32, last: Bool) -> U32: match last: case False{}: w case True{}: U32.or(w,2147483648) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.or