Bytes.prefix: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend as Bytes Lines 37-41 of bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend&start_line=37&end_line=41 import Base def prefix(n: Nat, bs: List<&2, U32>) -> List<&2, U32>: match n bs: case 0n _: Nil{} case 1n+k Nil{}: Nil{} case 1n+k b <> t: b <> prefix(k, t) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32