def b2n

bend-collections@1.0.0.0 · src/crypto/secp256k1/limbs.bend:175

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

175def b2n(b: Bool) -> Nat:
176  match b:
177    case True{}: 1n
178    case False{}: 0n

Uses (2)

Used by (2)