Lane.rotate: 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 21-26 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=21&end_line=26 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend as T def rotate(s: T.Lane, +n: Nat) -> T.Lane: match s n: case T.W{lo,hi} 0n: T.W{lo,hi} case T.W{lo,hi} 32n: T.W{hi,lo} case T.W{lo,hi} n: rotate_if(lo,hi,n,Nat.is_lt(n,32n)) 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=Nat.is_lt https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/lane.bend&name=rotate_if https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/keccak/types.bend&name=Lane