keen/random/generator-util

Source
Utilities for writing random number generators
random32 interface mut
next32 nat32()
Interface for generating random nat32s. This is more low-level and you probably want random instead.
random64 interface mut
next64 nat64()
Interface for generating random nat64s. This is more low-level and you probably want random instead.
random-from-32 record mut, case (has private fields)
Adapts a random32 to a random
random-from-32 random-from-32(inner random32)
next-bit bool(a random-from-32)
next32 nat32(a random-from-32)
next64 nat64(a random-from-32)
random-from-64 record mut, case (has private fields)
Adapts a random64 to a random
random-from-64 random-from-64(inner random64)
next-bit bool(a random-from-64)
next32 nat32(a random-from-64)
next64 nat64(a random-from-64)