Rand.step: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/random/rand.bend as Rand Lines 127-130 of bend-collections@1.0.0.0/src/math/random/rand.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/random/rand.bend&start_line=127&end_line=130 import Base import bend-collections@1.0.0.0/src/math/u64.bend as W import bend-collections@1.0.0.0/src/math/w64.bend as X def step(~S: Data, ~next: S -> W.U64 & S, +n: W.U64, +t: W.U64, d: Draw) -> Draw: match d: case D{+hi, +lo, s}: again(~S, ~next, n, hi, lo, s, X.lt(lo, t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/random/rand.bend&name=Draw https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/random/rand.bend&name=again https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/u64.bend&name=U64 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/w64.bend&name=lt