def eq
import bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend as Scalarimport Base
102def eq(a: List<&2, Nat>, b: List<&2, Nat>) -> Bool:
103 match a:
104 case Nil{}: eq_b(Nil{}, b)
105 case x <> t: eq_b(x <> t, b)
import bend-collections@1.0.0.0/src/crypto/secp256k1/scalar.bend as Scalarimport Base
102def eq(a: List<&2, Nat>, b: List<&2, Nat>) -> Bool:
103 match a:
104 case Nil{}: eq_b(Nil{}, b)
105 case x <> t: eq_b(x <> t, b)