def to_nat

bend-collections-laws-math@1.0.0.0 · src/math/random/rand.bend:201

import bend-collections-laws-math@1.0.0.0/src/math/random/rand.bend as Rand
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X

201def to_nat(-S: Data, p: W.U64 & S) -> Nat & S:
202  (x, s) = p
203  (X.n48(x), s)

Uses (5)

Used by (3)