def rest
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/ed25519.bend as Ed25519import Base
207def rest(n: Nat, xs: List<&2, U32>) -> List<&2, U32>:
208 match n:
209 case 0n:
210 xs
211 case 1n+m:
212 match xs:
213 case Nil{}:
214 Nil{}
215 case Con{x, xt}:
216 rest(m, xt)
Uses (3)
Used by (6)
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/ed25519:sign_body
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/ed25519:verify
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/bytes:drop_eq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/proof:ed_verify
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/top:prefix_eq
- …