BendCollections.sized: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/keccak/main.bend as BendCollections Lines 78-80 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=78&end_line=80 import Base def sized(round_count: Nat, +length: Nat, pair: Array & U32) -> Maybe<&1,Array>: (a,capacity) = pair checked(round_count,Nat.is_le(length,Nat.mul(4n,U32.to_nat(capacity))),a,length) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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_le https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/main.bend&name=checked