Permutation.rotate: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend as Permutation Lines 22-26 of bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/permutation.bend&start_line=22&end_line=26 import Base import bend-collections@1.0.0.0/src/crypto/keccak/types.bend as T def rotate(a: T.Lane, +n: Nat) -> T.Lane: match a 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_nonzero(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@1.0.0.0/spec/crypto/keccak/permutation.bend&name=rotate_nonzero https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/keccak/types.bend&name=Lane