def uint_below
import bend-collections@1.0.0.0/src/crypto/random.bend as Randomimport Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
import bend-collections@1.0.0.0/src/math/random/rand.bend as R
141# uniform in [0, n) for n > 0
142def uint_below(g: Gen, +n: W.U64) -> W.U64 & Gen:
143 R.uint64n(~Gen, ~next, g, n)
Uses (5)
Used by (0)
No other definition uses this definition.