/** * Constructs a generator from a function that uses randomness to produce a * sample. * * @tsplus static effect/core/testing/Gen.Ops fromRandomSample */ export function fromRandomSample( f: (random: Random) => Effect> ): Gen { return Gen.fromEffectSample(Effect.randomWith(f)) }