def b2n
import bend-collections-laws-crypto@1.0.0.0/spec/math/random/pcg.bend as Pcgimport Base
22def b2n(b: Bool) -> Nat:
23 match b:
24 case True{}:
25 1n
26 case False{}:
27 0n
import bend-collections-laws-crypto@1.0.0.0/spec/math/random/pcg.bend as Pcgimport Base
22def b2n(b: Bool) -> Nat:
23 match b:
24 case True{}:
25 1n
26 case False{}:
27 0n