Packed.partial: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha/packed.bend as Packed Lines 26-32 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha/packed.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha/packed.bend&start_line=26&end_line=32 import Base def partial(+w: U32, delta: Nat) -> U32: match delta: case 0n: 2147483648 case 1n: U32.or(U32.and(w,4278190080),8388608) case 2n: U32.or(U32.and(w,4294901760),32768) case 3n: U32.or(U32.and(w,4294967040),128) case _: w Uses (4): 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=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.or