BendCollections.checked: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/spec/crypto/keccak/main.bend as BendCollections Lines 73-76 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=73&end_line=76 import Base def checked(round_count: Nat, valid: Bool, a: Array, length: Nat) -> Maybe<&1,Array>: match valid: case False{}: None{} case True{}: Some{digest(unchecked(round_count,a,length))} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/main.bend&name=digest https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/spec/crypto/keccak/main.bend&name=unchecked