def pick

bend-collections@1.0.0.0 · spec/crypto/poly1305.bend:37

import bend-collections@1.0.0.0/spec/crypto/poly1305.bend as Poly1305
import Base

37def pick(b: Bool, x: Nat, y: Nat) -> Nat:
38  match b:
39    case True{}: x
40    case False{}: y

Uses (2)

Used by (1)