/** * Combines the specified deterministic generators to return a new * deterministic generator that generates all of the values generated by the * specified generators. * * @tsplus static effect/core/testing/Gen.Ops concatAll */ export function concatAll(gens: Collection>): Gen { return Gen.suspend(gens.reduce(Gen.empty as Gen, (acc, curr) => acc.concat(curr))) }