Blake2b.nth: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2b.bend as Blake2b Lines 79-83 of bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2b.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/crypto/blake/blake2b.bend&start_line=79&end_line=83 import Base def nth(-A: Data, xs: List<&2,A>, n: Nat, +zero: A) -> A: match xs n: case Nil{} _: zero case x <> rest 0n: x case x <> rest 1n+p: nth(A,rest,p,zero) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat