Lane.rotate_if: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/lane.bend as Lane Lines 16-19 of bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/lane.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/lane.bend&start_line=16&end_line=19 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend as T def rotate_if(lo: U32, hi: U32, +n: Nat, b: Bool) -> T.Lane: match b: case True{}: small(lo,hi,n) case False{}: small(hi,lo,Nat.sub(n,32n)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/lane.bend&name=small https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend&name=Lane