def hit_acc

bend-collections-laws-math@1.0.0.0 · proofs/math/random/lemire.bend:47

import bend-collections-laws-math@1.0.0.0/proofs/math/random/lemire.bend as Lemire
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/random/rand.bend as SR

47# the hit of an accepted or rejected hi
48def hit_acc(+hi: Nat, +k: Nat, +ok: Bool) -> Nat:
49  SR.hit(SR.accept(hi, ok), k)

Uses (4)

Used by (7)