def bv

bend-collections-laws-crypto@1.0.0.0 · proofs/math/random/bits.bend:16

import bend-collections-laws-crypto@1.0.0.0/proofs/math/random/bits.bend as Bits
import Base

16def bv(b: Bool) -> Nat:
17  match b:
18    case True{}:
19      1n
20    case False{}:
21      0n

Uses (2)

Used by (4)