def select

bend-collections@1.0.0.0 · src/crypto/poly1305/limbs.bend:102

import bend-collections@1.0.0.0/src/crypto/poly1305/limbs.bend as Limbs
import Base

102def select(+m: U32, a: List<&2, U32>, b: List<&2, U32>) -> List<&2, U32>:
103  match a b:
104    case x <> at y <> bt: pick(m, x, y) <> select(m, at, bt)
105    case _ _: Nil{}

Uses (3)

Used by (1)