def tail_after

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/blist.bend:22

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/blist.bend as Blist
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/curve.bend as CV
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/bytes.bend as B

22def tail_after(bs: List<&2, U32>) -> {B.tail(bs) == CV.after(1n, bs) : List<&2, U32>}:
23  match bs:
24    case Nil{}:
25      {==}
26    case b <> t:
27      {==}

Uses (4)

Used by (4)